Message285722
In general, HTTP URLs are supposed to be ASCII only. Newer protocols (e.g. RTSP which is based on HTTP) specifically allow UTF-8 encoding. But it would be wrong for Python’s HTTP library to assume UTF-8 is wanted everywhere. Especially in a domain name (e.g. in the full-URL request to a proxy), which should not be UTF-8 encoded.
I suggest to work on handling IRIs (<https://tools.ietf.org/html/rfc3987>, basically Unicode URLs) in higher-level places like “urllib”. See Issue 3991. |
|
Date |
User |
Action |
Args |
2017-01-18 11:53:01 | martin.panter | set | recipients:
+ martin.panter, Babe Hardy |
2017-01-18 11:53:01 | martin.panter | set | messageid: <1484740381.61.0.496715318542.issue29305@psf.upfronthosting.co.za> |
2017-01-18 11:53:01 | martin.panter | link | issue29305 messages |
2017-01-18 11:53:01 | martin.panter | create | |
|