Re: [Bug-wget] New wget (1.19.2): Unexpected download behaviour for gzip-compressed tarballs (HTTP-header dependent)

2017-11-03 Thread Daniel Stenberg
On Thu, 2 Nov 2017, Tim Rühsen wrote: How would you (or curl) handle Content-Type: application/x-tar Content-Encoding: gzip when downloading 'x.tar.gz' or 'x.tgz' ? Save the file compressed or uncompressed ? And what if the file is (correctly) named 'x.tar' ? Fortunately for me, curl does

Re: [Bug-wget] New wget (1.19.2): Unexpected download behaviour for gzip-compressed tarballs (HTTP-header dependent)

2017-11-03 Thread Tim Rühsen
On 11/03/2017 06:37 AM, James Cloos wrote: >> "TR" == Tim Rühsen writes: > > TR> I downloaded/tested thousands of web pages and they behave as if 'Content- > TR> Encoding: gzip' is a compression for the transport. Uncompressing it > 'on-the- > TR> fly' and saving that uncompressed data was t

Re: [Bug-wget] New wget (1.19.2): Unexpected download behaviour for gzip-compressed tarballs (HTTP-header dependent)

2017-11-03 Thread Tim Rühsen
On 11/03/2017 09:30 AM, Daniel Stenberg wrote: > On Thu, 2 Nov 2017, Tim Rühsen wrote: > >> How would you (or curl) handle >>  Content-Type: application/x-tar >>  Content-Encoding: gzip > >> when downloading 'x.tar.gz' or 'x.tgz' ? Save the file compressed or >> uncompressed ? And what if the fil

Re: [Bug-wget] Patch: Fix printing mutibyte characters as unprintable characters on Windows

2017-11-03 Thread YX Hao
Hi Eli and maintainers, > From: Eli Zaretskii [mailto:e...@gnu.org] > Sent: 2017年11月3日 0:15 > > I'm not Tim, but I have a few questions about your patches. I thought just Tim is active, by my previous experiences. :) Thanks for your work and answers. > > > 1. setlocale > Can you explain why you

Re: [Bug-wget] New wget (1.19.2): Unexpected download behaviour for gzip-compressed tarballs (HTTP-header dependent)

2017-11-03 Thread James Cloos
> "TR" == Tim Rühsen writes: TR> Looking at the Mozilla/Gecko sources shows that gzip Content-Encoding is TR> just cleared for Content-Types application/x-gzip, application/gzip and TR> application/x-gunzip. That makes it straight forward to go that way. Cool. That works. -JimC -- James C

Re: [Bug-wget] New wget (1.19.2): Unexpected download behaviour for gzip-compressed tarballs (HTTP-header dependent)

2017-11-03 Thread Jens Schleusener
On Fri, 3 Nov 2017, Tim Rühsen wrote: On 11/03/2017 06:37 AM, James Cloos wrote: "TR" == Tim Rühsen writes: TR> I downloaded/tested thousands of web pages and they behave as if 'Content- TR> Encoding: gzip' is a compression for the transport. Uncompressing it 'on-the- TR> fly' and saving th

Re: [Bug-wget] Support for HTTP 308 (Permanent Redirect)

2017-11-03 Thread Tim Rühsen
On Sonntag, 29. Oktober 2017 00:35:54 CET Vasya Pupkin wrote: > Hello, > > Some websites started using HTTP 308 redirects > (https://tools.ietf.org/html/rfc7538) and Wget fails to follow such > redirects currently. I'm not sure if this can be considered a bug, though. > Anyway, would be nice if Wg