Commit e7fe6c3d authored by Georg Brandl's avatar Georg Brandl

Patch #1765839: add link to https+proxy urllib2 opener.

parent 0f6d360a
...@@ -541,7 +541,9 @@ steps to setting up a `Basic Authentication`_ handler : :: ...@@ -541,7 +541,9 @@ steps to setting up a `Basic Authentication`_ handler : ::
.. note:: .. note::
Currently ``urllib2`` *does not* support fetching of ``https`` 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 Sockets and Layers
================== ==================
...@@ -596,3 +598,6 @@ This document was reviewed and revised by John Lee. ...@@ -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 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 scripts with a localhost server, I have to prevent urllib2 from using
the proxy. the proxy.
.. [#] urllib2 opener for SSL proxy (CONNECT method): `ASPN Cookbook Recipe
<http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/456195>`_.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment