Mailing List Archive

[issue1508475] transparent gzip compression in urllib
Changes by Serhiy Storchaka <storchaka@gmail.com>:


----------
nosy: +storchaka
versions: +Python 3.3 -Python 3.2

_______________________________________
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 ]
Serhiy Storchaka <storchaka@gmail.com> added the comment:

What if the gzip module is not available?

I think, with transparent decompression should delete headers Content-Encoding (to free the user from re-decompression) and Content-Length (which is wrong).

----------

_______________________________________
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 ]
Senthil Kumaran <senthil@uthcode.com> added the comment:

In that case, transparent decompression should not be available. (
Request header should not be sent and response wont be compressed).

----------

_______________________________________
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 ]
Serhiy Storchaka <storchaka@gmail.com> added the comment:

The patch for py3k also has the disadvantage that the content is decoded even if the user has defined a Content-Encoding and he is going to process compressed response himself.

----------

_______________________________________
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