Mailing List Archive

[issue1508475] transparent gzip compression in urllib
Tom Pinckney <thomaspinckney3@gmail.com> added the comment:

What if this gzip decompression was optional and controlled via a flag or handler instead of making it automagic?

It's not entirely trivial to implement so it is nice to have the option of this happening automatically if one wishes.

Then, the caller would be aware that Content-length / Accept-encoding / Content-encoding etc have been modified iff they requested gzip decompression.

----------
nosy: +thomaspinckney3

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue1508475>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue1508475] transparent gzip compression in urllib [ In reply to ]
Éric Araujo <merwok@netwok.org> added the comment:

Enabled by default with a knob to turn it off sounds good. Maybe the original headers could be preserved in some object.

----------
keywords: -easy, patch

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue1508475>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com