[issue23377] HTTPResponse may drop buffer holding next response

Martin Panter report at bugs.python.org
Sat May 23 11:03:47 CEST 2015


Martin Panter added the comment:

Thanks for the reviewing. Here is http-buffer.v3.patch:

* Merged with current code
* Better HTTPResponse(sock) compatibility suggested by Demian
* New HTTPConnection.request(close=True) feature also suggested by Demian. This sends “Connection: close” in the request, and arranges for the response to be detached from the HTTPConnection instance, making some hacks in urllib.request redundant.

----------
Added file: http://bugs.python.org/file39472/http-buffer.v3.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23377>
_______________________________________


More information about the Python-bugs-list mailing list