Message134161
| 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:41 | yaubi | set | recipients:
+ yaubi, pitrou, djc, kmoon |
| 2011年04月20日 16:04:41 | yaubi | set | messageid: <1303315481.91.0.44281891673.issue6785@psf.upfronthosting.co.za> |
| 2011年04月20日 16:04:41 | yaubi | link | issue6785 messages |
| 2011年04月20日 16:04:41 | yaubi | create |
|