homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yaubi
Recipients djc, kmoon, pitrou, yaubi
Date 2011年04月20日.16:04:41
SpamBayes Score 0.002349461
Marked as misclassified No
Message-id <1303315481.91.0.44281891673.issue6785@psf.upfronthosting.co.za>
In-reply-to
Content
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'
History
Date User Action Args
2011年04月20日 16:04:41yaubisetrecipients: + yaubi, pitrou, djc, kmoon
2011年04月20日 16:04:41yaubisetmessageid: <1303315481.91.0.44281891673.issue6785@psf.upfronthosting.co.za>
2011年04月20日 16:04:41yaubilinkissue6785 messages
2011年04月20日 16:04:41yaubicreate

AltStyle によって変換されたページ (->オリジナル) /