- From: Alwin Blok <notifications@github.com>
- Date: Mon, 10 May 2021 08:27:09 -0700
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 10 May 2021 15:27:22 UTC
> Well, `fetch()` does not work with relative URLs. It needs a base URL when given a relative URL. No, it accepts a relative URL–string as an argument. It then internally resolves that against an implicit base URL. So if you want to modify the argument with the URL API you need to retrieve that implicit base URL first. The point is that this would not be an issue with an URL API that supports relative URLs. -- 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/issues/531#issuecomment-836838167
Received on Monday, 10 May 2021 15:27:22 UTC