Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit aef0e89

Browse files
committed
Document the limitation that urllib does not work with proxies which
require authenication. This is an implementation limitation rather than required behavior, and may be fixed in the future. This closes SourceForge bug #111725.
1 parent a54436f commit aef0e89

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

Doc/lib/liburllib.tex

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,12 @@ \section{\module{urllib} ---
6262
must in standard \file{application/x-www-form-urlencoded} format;
6363
see the \function{urlencode()} function below.
6464

65-
The \function{urlopen()} function works transparently with proxies.
66-
In a \UNIX{} or Windows environment, set the \envvar{http_proxy},
67-
\envvar{ftp_proxy} or \envvar{gopher_proxy} environment variables to a
68-
URL that identifies the proxy server before starting the Python
69-
interpreter. For example (the \character{\%} is the command prompt):
65+
The \function{urlopen()} function works transparently with proxies
66+
whicd do not require authentication. In a \UNIX{} or Windows
67+
environment, set the \envvar{http_proxy}, \envvar{ftp_proxy} or
68+
\envvar{gopher_proxy} environment variables to a URL that identifies
69+
the proxy server before starting the Python interpreter. For example
70+
(the \character{\%} is the command prompt):
7071

7172
\begin{verbatim}
7273
% http_proxy="http://www.someproxy.com:3128"
@@ -78,6 +79,9 @@ \section{\module{urllib} ---
7879
In a Macintosh environment, \function{urlopen()} will retrieve proxy
7980
information from Internet\index{Internet Config} Config.
8081

82+
Proxies which require authentication for use are not currently
83+
supported; this is considered an implementation limitation.
84+
8185
The \function{urlopen()} function works transparently with proxies.
8286
In a \UNIX{} or Windows environment, set the \envvar{http_proxy},
8387
\envvar{ftp_proxy} or \envvar{gopher_proxy} environment variables to a

0 commit comments

Comments
 (0)