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/[email protected]/msg00340.html [2] https://lists.gnu.org/archive/html/bug-wget/2013-02/msg00021.html
gzip-support-for-wget-114.patch
Description: Binary data
