[Python-checkins] r77013 - python/branches/release26-maint/Lib/httplib.py

senthil.kumaran python-checkins at python.org
Thu Dec 24 01:51:34 CET 2009


Author: senthil.kumaran
Date: Thu Dec 24 01:51:34 2009
New Revision: 77013

Log:
Issue: 7291. 2.6 backport missed the headers argument. Fixed it.



Modified:
   python/branches/release26-maint/Lib/httplib.py

Modified: python/branches/release26-maint/Lib/httplib.py
==============================================================================
--- python/branches/release26-maint/Lib/httplib.py	(original)
+++ python/branches/release26-maint/Lib/httplib.py	Thu Dec 24 01:51:34 2009
@@ -658,7 +658,7 @@
         if strict is not None:
             self.strict = strict
 
-    def _set_tunnel(self, host, port=None):
+    def _set_tunnel(self, host, port=None, headers=None):
         """ Sets up the host and the port for the HTTP CONNECT Tunnelling.
 
         The headers argument should be a mapping of extra HTTP headers


More information about the Python-checkins mailing list