mirror of
https://github.com/python/cpython.git
synced 2025-12-05 00:52:25 +00:00
Patch #1765839: add link to https+proxy urllib2 opener.
This commit is contained in:
parent
0f6d360ac7
commit
e7fe6c3db2
1 changed files with 6 additions and 1 deletions
|
|
@ -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.
|
||||||
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>`_.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue