summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/http.client.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/http.client.rst b/Doc/library/http.client.rst
index 3632242..3d37c1b 100644
--- a/Doc/library/http.client.rst
+++ b/Doc/library/http.client.rst
@@ -386,6 +386,12 @@ HTTPConnection Objects
.. versionadded:: 2.7
+.. method:: HTTPConnection.set_tunnel(host, port=None)
+
+ Set the host and the port for HTTP Connect Tunnelling. Normally used when it
+ is required to a HTTPS Connection through a proxy server.
+
+ .. versionadded:: 3.1
.. method:: HTTPConnection.connect()