- From: David Benjamin <notifications@github.com>
- Date: Tue, 26 Jan 2021 14:27:06 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 26 January 2021 22:27:21 UTC
> Safari seems to fail the fetch when you `respondWith(new Response(...302...))`. Oh huh. A correction: Safari fails the fetch if you `respondWith(new Response(...302...))` with a relative Location header, but an absolute Location header is processed as a redirect. I wonder if they just resolve Location relative to `response.url`, and if that's null, so be it. That is consistent with what the spec says for network-constructed responses, except those (I think?) always have a response URL. -- 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/fetch/issues/1146#issuecomment-767858563
Received on Tuesday, 26 January 2021 22:27:21 UTC