[issue15089] Add gzip support to urllib.request.retrieve()

2012-06-17 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue15089] Add gzip support to urllib.request.retrieve()

2012-06-17 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> duplicate status: open -> closed superseder: -> transparent gzip compression in urllib ___ Python tracker ___

[issue15089] Add gzip support to urllib.request.retrieve()

2012-06-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Isn't this a duplicate of issue1508475? -- nosy: +storchaka ___ Python tracker ___ ___ Python-bug

[issue15089] Add gzip support to urllib.request.retrieve()

2012-06-16 Thread Raymond Hettinger
New submission from Raymond Hettinger : Enable retrieve() to take advantage of data compression in HTTP requests. * In the request, add the header "Accept-Encoding: gzip". * In the response, check the headers for "Content-Encoding: gzip". * Convert the downloaded content using gzip.GzipFile. --