cpython/Lib/urllib
Martin Panter e6f060903c Issue #17214: Percent-encode non-ASCII bytes in redirect targets
Some servers send Location header fields with non-ASCII bytes, but "http.
client" requires the request target to be ASCII-encodable, otherwise a
UnicodeEncodeError is raised. Based on patch by Christian Heimes.

Python 2 does not suffer any problem because it allows non-ASCII bytes in the
HTTP request target.
2016-05-16 01:14:20 +00:00
..
__init__.py
error.py
parse.py
request.py Issue #17214: Percent-encode non-ASCII bytes in redirect targets 2016-05-16 01:14:20 +00:00
response.py
robotparser.py Fix typos in comments, documentation and test method names 2016-05-08 13:48:10 +00:00