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:
parent
312bdedf6f
commit
8c43610906
|
@ -515,6 +515,7 @@ class HTTPResponse:
|
||||||
return ''
|
return ''
|
||||||
|
|
||||||
if self._method == 'HEAD':
|
if self._method == 'HEAD':
|
||||||
|
self.close()
|
||||||
return ''
|
return ''
|
||||||
|
|
||||||
if self.chunked:
|
if self.chunked:
|
||||||
|
|
Loading…
Reference in New Issue