- From: Anne van Kesteren <notifications@github.com>
- Date: Mon, 10 May 2021 09:41:23 -0700
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 10 May 2021 16:41:36 UTC
@alwinb in order for `fetch()` to do its thing it needs an absolute URL. So I was wondering how that would work in Node or Deno. But reading the link in OP again it seems there is a non-standard version of `fetch()` that doesn't require an absolute URL. Now, that doesn't mean it would be possible to not require it for `new URL()` as I mentioned in https://github.com/whatwg/url/issues/531#issuecomment-681657589. A new API for relative URLs could be added as @styfle mentioned, but this would be quite a bit of effort (including in a best case scenario where it would be fairly straightforward) that has to be justified somehow. -- 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-836941630
Received on Monday, 10 May 2021 16:41:36 UTC