projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
312bded
)
Merged revisions 81687 via svnmerge from
author
Senthil Kumaran
<orsenthil@gmail.com>
Fri, 4 Jun 2010 16:34:53 +0000
(16:34 +0000)
committer
Senthil Kumaran
<orsenthil@gmail.com>
Fri, 4 Jun 2010 16:34:53 +0000
(16:34 +0000)
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.
........
Lib/httplib.py
patch
|
blob
|
history
diff --git
a/Lib/httplib.py
b/Lib/httplib.py
index 262d60259c22858608ee26041327b06a88d1f97f..5b89305899d74e97f80c6b8ec87a305228c0498a 100644
(file)
--- a/
Lib/httplib.py
+++ b/
Lib/httplib.py
@@
-515,6
+515,7
@@
class HTTPResponse:
return ''
if self._method == 'HEAD':
+ self.close()
return ''
if self.chunked: