- From: Jeffrey Yasskin <notifications@github.com>
- Date: Fri, 03 Aug 2018 13:44:05 -0700
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 3 August 2018 20:44:27 UTC
This is the only part of the URL Serializer's output that wasn't already specified to be ASCII. I believe domains are always ASCII because: * The URL Parser always sets a URL's host to the result of the host parser. * The host parser on things other than IPv4, IPv6, and opaque hosts (i.e. "domains") returns |asciiDomain|, the result of 'domain to ASCII'. * The URL.host setter passes its input through the URL parser. I care because the result of the URL Serializer is ASCII except maybe for the domain, and I want to know the right way to convert it to a [header's value](https://fetch.spec.whatwg.org/#concept-header-value), a byte sequence. You can view, comment on, or merge this pull request online at: https://github.com/whatwg/url/pull/409 -- Commit Summary -- * Specify that domains are ASCII strings. -- File Changes -- M url.bs (12) -- Patch Links -- https://github.com/whatwg/url/pull/409.patch https://github.com/whatwg/url/pull/409.diff -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/url/pull/409
Received on Friday, 3 August 2018 20:44:27 UTC