Message156828
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. |
|
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 | |
|