[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] [hg] regression fix and gzip support

From: Alan Jenkins
Subject: [Bug-wget] [hg] regression fix and gzip support
Date: Fri, 29 Jan 2010 16:07:45 +0000

    Fix regression (Test-c-partial-no-content-length)
    Rev 4318b1cccf8e "Don't download content just to ignore it."
    caused "wget -c" to fail on resources without Content-Length,
    saying "The file is already fully retrieved; nothing to do."

    Fix it by checking content-length was set before trying to
    compare it with the already downloded filesize.

The above fix is available to be pulled (along with a test case) with

hg pull -r 9e9c63037f9f https://address@hidden/sourcejedi/wget-aj/

[Note the -r switch!].

I have also implemented support for transparent decompression
(Content-Encoding: gzip).  This is based on the regression fix; the
combined changes are available with

hg pull https://address@hidden/sourcejedi/wget-aj/

and the commits can also be browsed online at


reply via email to

[Prev in Thread] Current Thread [Next in Thread]