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.
........
This commit is contained in:
Senthil Kumaran 2010-06-04 16:38:00 +00:00
parent 7da8f06df0
commit 447f82f95f
1 changed files with 1 additions and 0 deletions

View File

@ -488,6 +488,7 @@ def read(self, amt=None):
return b""
if self._method == "HEAD":
self.close()
return b""
if self.chunked: