[issue9740] Support for HTTP 1.1 persistent connections throughout the standard library
V. Kumar
report at bugs.python.org
Sun Jun 22 21:42:27 CEST 2014
V. Kumar added the comment:
Verified that Persistent Connections per HTTP 1.1 spec is already implemented and working correctly.
See:
http://hg.python.org/cpython/file/3f3de8c47ff8/Lib/http/client.py#l432
Also, tested this in packet sniffer to verify that connection is being reused.
But the server.py has in issue where the keep-alive can be used in HTTP/1.0:
http://hg.python.org/cpython/file/7417d8854f93/Lib/http/server.py#l331
So, the and in this line needs to be an 'or'.
----------
nosy: +trent, vklogin
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9740>
_______________________________________
More information about the Python-bugs-list
mailing list