Kristján Valur Jónsson added the comment:

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.

----------
Added file: http://bugs.python.org/file31836/httpresponse.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19009>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to