Commit 447f82f9 authored by Senthil Kumaran's avatar Senthil Kumaran

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.
........
parent 7da8f06d
......@@ -488,6 +488,7 @@ class HTTPResponse(io.RawIOBase):
return b""
if self._method == "HEAD":
self.close()
return b""
if self.chunked:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment