Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue1508475] transparent gzip compression in urllib

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

Apr 15, 2012, 12:07 AM

Post #1 of 4 (91 views)
Permalink
[issue1508475] transparent gzip compression in urllib

Changes by Serhiy Storchaka <storchaka [at] gmail>:


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

_______________________________________
Python tracker <report [at] bugs>
<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


report at bugs

Apr 15, 2012, 2:51 AM

Post #2 of 4 (82 views)
Permalink
[issue1508475] transparent gzip compression in urllib [In reply to]

Serhiy Storchaka <storchaka [at] gmail> 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 [at] bugs>
<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


report at bugs

Apr 15, 2012, 4:52 PM

Post #3 of 4 (80 views)
Permalink
[issue1508475] transparent gzip compression in urllib [In reply to]

Senthil Kumaran <senthil [at] uthcode> 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 [at] bugs>
<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


report at bugs

Apr 15, 2012, 10:41 PM

Post #4 of 4 (80 views)
Permalink
[issue1508475] transparent gzip compression in urllib [In reply to]

Serhiy Storchaka <storchaka [at] gmail> 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 [at] bugs>
<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

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.