bug-wget
[Top][All Lists]
Advanced

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

[Bug-wget] [PATCH] support for gzipped transfer in wget-1.14


From: Deepak Nagaraj
Subject: [Bug-wget] [PATCH] support for gzipped transfer in wget-1.14
Date: Fri, 6 Sep 2013 12:21:11 -0700

Hi all,

I found that GNU wget had no support for compressed file transfer.  I have
modified the code to:

- send "Accept-Encoding: gzip" header
- check if response is gzipped, and if so, decompress it at end of download
- not send the gzip header if a new option "-z" is specified
- disable all related logic if --without-gzip is specified during configure

This feature is especially useful for mirroring and/or recursive downloads.

I started off with a fork on github [0], but it was incomplete and not
really package-ready.

Please review and let me know your comments.  Google tells me this feature
has been discussed [1] on this list before, but it also seems to be much
requested? [2]

Thanks,
-deepak

[0] https://github.com/ptolts/wget-with-gzip-compression
[1] http://www.mail-archive.com/address@hidden/msg00340.html
[2] https://lists.gnu.org/archive/html/bug-wget/2013-02/msg00021.html

Attachment: gzip-support-for-wget-114.patch
Description: Binary data


reply via email to

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