Force the http connection to close after any request returned when
commit729130102dfbee2163dcfa254b74e6d808d5a489
authorgregory.p.smith <gregory.p.smith@6015fed2-1504-0410-9fe1-9d1591cc4771>
Sat, 15 Aug 2009 22:39:03 +0000 (15 22:39 +0000)
committergregory.p.smith <gregory.p.smith@6015fed2-1504-0410-9fe1-9d1591cc4771>
Sat, 15 Aug 2009 22:39:03 +0000 (15 22:39 +0000)
tree174a7d0d038410dd0389c2638f4fbd5aeb3e2d5b
parentcd08f3375f73357bf1470715cebbb7d77c582d21
Force the http connection to close after any request returned when
buffering=True as our buffered data is not known to the HTTPConnection and may
contain data needed by a future request if the connection were left open.

See http://bugs.python.org/issue2576 and http://bugs.python.org/issue4879.

git-svn-id: http://svn.python.org/projects/python/trunk@74463 6015fed2-1504-0410-9fe1-9d1591cc4771
Lib/httplib.py