[Python-checkins] r81690 - in python/branches/release31-maint: Lib/http/client.py

senthil.kumaran python-checkins at python.org
Fri Jun 4 18:43:10 CEST 2010


Author: senthil.kumaran
Date: Fri Jun  4 18:43:10 2010
New Revision: 81690

Log:
Merged revisions 81689 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r81689 | senthil.kumaran | 2010-06-04 22:08:00 +0530 (Fri, 04 Jun 2010) | 9 lines
  
  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.
  ........
................


Modified:
   python/branches/release31-maint/   (props changed)
   python/branches/release31-maint/Lib/http/client.py

Modified: python/branches/release31-maint/Lib/http/client.py
==============================================================================
--- python/branches/release31-maint/Lib/http/client.py	(original)
+++ python/branches/release31-maint/Lib/http/client.py	Fri Jun  4 18:43:10 2010
@@ -488,6 +488,7 @@
             return b""
 
         if self._method == "HEAD":
+            self.close()
             return b""
 
         if self.chunked:


More information about the Python-checkins mailing list