- From: Domenic Denicola <notifications@github.com>
- Date: Fri, 09 Feb 2018 06:18:51 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 9 February 2018 14:19:52 UTC
To me the steps appear unclear: > 5.2. Let location be the result of extracting header list values given `Location` and actualResponse’s header list. > > 5.3. If location is a value, then set location to the result of parsing location with actualResponse’s url. I'm not sure when location could ever be a value; "extract header list values" returns either null or a list. Seems like a spec bug. But if we assume that conditions is not triggered, then we set location URL to null. Then in HTTP-redirect fetch step 2, response gets returned, so more like Chrome's behavior. So per the spec as written I think Chrome's behavior makes sense. But the spec has a pretty bad bug in this area which casts doubt on the result, IMO. I'm curious to see what your analysis was; perhaps I missed something. -- 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#issuecomment-364445809
Received on Friday, 9 February 2018 14:19:52 UTC