Message233393
utf-8 encoding is only one step in IRI encoding. Correct IRI encoding is non trivial and doesn't fall into the support policy for 2.7 (bug/security fixes). I think that the best that can be done for 2.7 is to enhance the documentation around HTTPConnection.__init__ (unicode hostnames should be IDNA-encoded with the built-in IDNA encoder) and HTTPConnection.request/putrequest noting that unicode paths should be IRI encoded, with a link to RFC 3987. |
|
Date |
User |
Action |
Args |
2015-01-04 06:46:17 | demian.brecht | set | recipients:
+ demian.brecht, orsenthil, vstinner, Bob.Chen |
2015-01-04 06:46:17 | demian.brecht | set | messageid: <1420353977.24.0.884116163904.issue22231@psf.upfronthosting.co.za> |
2015-01-04 06:46:17 | demian.brecht | link | issue22231 messages |
2015-01-04 06:46:16 | demian.brecht | create | |
|