mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Issue #26804: urllib.request will prefer lower_case proxy environment variables
over UPPER_CASE or Mixed_Case ones. Patch contributed by Hans-Peter Jansen. Reviewed by Martin Panter and Senthil Kumaran.
This commit is contained in:
parent
d3304e3e20
commit
a7c0ff2f0b
5 changed files with 80 additions and 11 deletions
|
@ -166,6 +166,8 @@ The :mod:`urllib.request` module defines the following functions:
|
|||
in a case insensitive approach, for all operating systems first, and when it
|
||||
cannot find it, looks for proxy information from Mac OSX System
|
||||
Configuration for Mac OS X and Windows Systems Registry for Windows.
|
||||
If both lowercase and uppercase environment variables exist (and disagree),
|
||||
lowercase is preferred.
|
||||
|
||||
|
||||
The following classes are provided:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue