- From: Anne van Kesteren <notifications@github.com>
- Date: Fri, 17 Feb 2023 04:01:31 -0800
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 17 February 2023 12:01:43 UTC
It also gives an easy way to parse a host. Which can be useful if your chosen scheme always gives you an opaque host (or IPv6). And more ergonomic than something like `new URL("https://" + host);` which might also do the wrong thing for certain inputs. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/url/pull/288#issuecomment-1434542261 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/url/pull/288/c1434542261@github.com>
Received on Friday, 17 February 2023 12:01:43 UTC