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 kristjan.jonsson
Recipients kristjan.jonsson, orsenthil, pitrou, r.david.murray, serhiy.storchaka
Date 2013-09-21.16:43:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1379781828.51.0.00881865820996.issue19009@psf.upfronthosting.co.za>
In-reply-to
Content
Ok, Here is a new patch.
We now inherit from BufferedIOBase.  We must implement read(amt) ourselves, since the base class does not do it.

I was wrong about the final chunk, it is in fact 0\r\n.  A final \r\n is then added to signal the end of the optional trailers.

Added a bunch of tests for chunked encoding, plus tests to verify http synchronization for keepalive connections.
History
Date User Action Args
2013-09-21 16:43:48kristjan.jonssonsetrecipients: + kristjan.jonsson, orsenthil, pitrou, r.david.murray, serhiy.storchaka
2013-09-21 16:43:48kristjan.jonssonsetmessageid: <1379781828.51.0.00881865820996.issue19009@psf.upfronthosting.co.za>
2013-09-21 16:43:48kristjan.jonssonlinkissue19009 messages
2013-09-21 16:43:47kristjan.jonssoncreate