Kaydet (Commit) dfaced5d authored tarafından Senthil Kumaran's avatar Senthil Kumaran

Fix issue6312 - close the resp object for HEAD response.

üst 998cc24d
......@@ -525,6 +525,7 @@ class HTTPResponse:
return ''
if self._method == 'HEAD':
self.close()
return ''
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