]> granicus.if.org Git - python/commitdiff
Patch #1765839: add link to https+proxy urllib2 opener.
authorGeorg Brandl <georg@python.org>
Mon, 6 Aug 2007 07:52:20 +0000 (07:52 +0000)
committerGeorg Brandl <georg@python.org>
Mon, 6 Aug 2007 07:52:20 +0000 (07:52 +0000)
Doc/howto/urllib2.rst

index 69ce5082e4935589e9aa72973cab98071f50756a..ce10e52152d8ce537b2eb97efd723bf0531c9a03 100644 (file)
@@ -541,7 +541,9 @@ steps to setting up a `Basic Authentication`_ handler : ::
 .. note::
 
     Currently ``urllib2`` *does not* support fetching of ``https``
-    locations through a proxy. This can be a problem.
+    locations through a proxy.  However, this can be enabled by extending
+    urllib2 as shown in the recipe [#]_.
+
 
 Sockets and Layers
 ==================
@@ -596,3 +598,6 @@ This document was reviewed and revised by John Lee.
        is set to use the proxy, which urllib2 picks up on. In order to test
        scripts with a localhost server, I have to prevent urllib2 from using
        the proxy.
+.. [#] urllib2 opener for SSL proxy (CONNECT method): `ASPN Cookbook Recipe 
+       <http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/456195>`_.