Change by Andreas Åkerlund :
--
nosy: -thezulk
___
Python tracker
<https://bugs.python.org/issue17267>
___
___
Python-bugs-list mailing list
Unsubscribe:
Andreas Åkerlund added the comment:
Changed the patch after pointers from vadmium.
And quote_uri is changed to quote_iri as martin.panter thought it was more
appropriate.
--
Added file: http://bugs.python.org/file46440/issue3991_2017-01-27.diff
Andreas Åkerlund added the comment:
Submited a patch against 2.7 that adds all environment variables starting with
HTTP_, strips of the prefix and converts it to lower case. Also added a small
test case.
--
keywords: +patch
nosy: +thezulk
Added file: http://bugs.python.org/file29173
Andreas Åkerlund added the comment:
This is a patch against 3.2 adding urllib.parse.quote_uri
It splits the URI in 5 parts (protocol, authentication, hostname, port and
path) then runs urllib.parse.quote on the path and encodes the hostname to
punycode if it's not in ascii.
It's not perfect
Andreas Åkerlund added the comment:
Well I have also made a patch for this, using the datetime operator code as
much as possible.. this is for version 3.4..
--
nosy: +thezulk
Added file: http://bugs.python.org/file29206/issue17267-3.4.diff