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 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:25fancycodesetrecipients: + fancycode
2012-03-26 16:14:25fancycodesetmessageid: <1332778465.08.0.819519448389.issue14414@psf.upfronthosting.co.za>
2012-03-26 16:14:24fancycodelinkissue14414 messages
2012-03-26 16:14:24fancycodecreate