Yoann Aubineau <[email protected]> added the comment:
Chunked transfer encoding has been introduced in HTTP/1.1. Sending an HTTP/1.0
request would then force the server to not use this mechanism.
Module httplib sends HTTP/1.1 requests by default but, as far as I know, does
not offer any option to downgrade.
My suggestion would be to monkey patch httplib.HTTPConnection prior to using it
:
import httplib
httplib.HTTPConnection._http_vsn = 10
httplib.HTTPConnection._http_vsn_str = 'HTTP/1.0'
----------
nosy: +yaubi
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue6785>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com