Message156828
| Author |
fancycode |
| Recipients |
fancycode |
| Date |
2012年03月26日.16:14:24 |
| SpamBayes Score |
4.8358896e-05 |
| Marked as misclassified |
No |
| Message-id |
<1332778465.08.0.819519448389.issue14414@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
If a XML-RPC server returns an error page without a content-length header (for example with "transfer-encoding: chunked" instead), the method "single_request" in xmlrpclib doesn't read the response before raising a ProtocolError.
If this happens and the http connection is reused, the response is in a broken state and the next request will trigger a ResponseNotReady exception in httplib.
Possible solutions would be to explicitly close the response before raising the ProtocolError or read the response for chunked encoding. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年03月26日 16:14:25 | fancycode | set | recipients:
+ fancycode |
| 2012年03月26日 16:14:25 | fancycode | set | messageid: <1332778465.08.0.819519448389.issue14414@psf.upfronthosting.co.za> |
| 2012年03月26日 16:14:24 | fancycode | link | issue14414 messages |
| 2012年03月26日 16:14:24 | fancycode | create |
|