summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2009-05-24 09:14:50 (GMT)
committerSenthil Kumaran <orsenthil@gmail.com>2009-05-24 09:14:50 (GMT)
commite266f25cf1f9ad28409f4c11c40595fb25f555da (patch)
treef6a44ac991861418765056f676d17bcf2520d7a1 /Doc
parent655d835415800085cddbacecfc8a22111d70a5ef (diff)
downloadcpython-e266f25cf1f9ad28409f4c11c40595fb25f555da.zip
cpython-e266f25cf1f9ad28409f4c11c40595fb25f555da.tar.gz
cpython-e266f25cf1f9ad28409f4c11c40595fb25f555da.tar.bz2
Fixed Issue1424152, urllib2 fails with HTTPS over Proxy.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/httplib.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/httplib.rst b/Doc/library/httplib.rst
index e48c95c..9a5acc1 100644
--- a/Doc/library/httplib.rst
+++ b/Doc/library/httplib.rst
@@ -428,6 +428,12 @@ HTTPConnection Objects
debug level is ``0``, meaning no debugging output is printed.
+.. method:: HTTPConnection.set_tunnel(host,port=None)
+
+ Set the host and the port for HTTP Connect Tunnelling. Normally used when
+ it is required to do HTTPS Conection through a proxy server.
+
+
.. method:: HTTPConnection.connect()
Connect to the server specified when the object was created.