[Python-checkins] r81688 - in python/branches/release26-maint: Lib/httplib.py
senthil.kumaran
python-checkins at python.org
Fri Jun 4 18:34:53 CEST 2010
Author: senthil.kumaran
Date: Fri Jun 4 18:34:53 2010
New Revision: 81688
Log:
Merged revisions 81687 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81687 | senthil.kumaran | 2010-06-04 22:02:14 +0530 (Fri, 04 Jun 2010) | 3 lines
Fix issue6312 - close the resp object for HEAD response.
........
Modified:
python/branches/release26-maint/ (props changed)
python/branches/release26-maint/Lib/httplib.py
Modified: python/branches/release26-maint/Lib/httplib.py
==============================================================================
--- python/branches/release26-maint/Lib/httplib.py (original)
+++ python/branches/release26-maint/Lib/httplib.py Fri Jun 4 18:34:53 2010
@@ -515,6 +515,7 @@
return ''
if self._method == 'HEAD':
+ self.close()
return ''
if self.chunked:
More information about the Python-checkins
mailing list