- From: Matt Falkenhagen <notifications@github.com>
- Date: Thu, 08 Feb 2018 23:00:43 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 9 February 2018 07:01:05 UTC
I'm trying to figure out what happens when you do a fetch() in follow mode, and get a 302 response with a Location header whose value is the empty string. Chrome returns a response with type 'basic', status 302, and a Location header with the empty string. (It also crashes in debug mode.) Firefox returns a network error. For a similar test where Location is omitted, Chrome returns a response with type 'basic', status 302, and no Location header. Firefox returns the same. What does the spec say and people think? Here is my proposed WPT test for reference: https://chromium-review.googlesource.com/c/chromium/src/+/910753 @wanderview -- 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/669
Received on Friday, 9 February 2018 07:01:05 UTC