diff options
author | Senthil Kumaran <orsenthil@gmail.com> | 2010-06-04 16:34:53 +0000 |
---|---|---|
committer | Senthil Kumaran <orsenthil@gmail.com> | 2010-06-04 16:34:53 +0000 |
commit | 8c4361090690d9f5c7d8b310ffc7dcf7be44038a (patch) | |
tree | d730e1c464877e08bd7b40e5836bdd4f73f8579f /Lib/httplib.py | |
parent | 312bdedf6f68b15c2af1342a6a1d93c783e04649 (diff) | |
download | cpython-git-8c4361090690d9f5c7d8b310ffc7dcf7be44038a.tar.gz |
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.
........
Diffstat (limited to 'Lib/httplib.py')
-rw-r--r-- | Lib/httplib.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/httplib.py b/Lib/httplib.py index 262d60259c..5b89305899 100644 --- 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: |