[whatwg/fetch] Use request's current url as base URL in redirects (#633)

As the response's url list is not set at this point using that doesn not work. We could potentially set it earlier, but that brings along other complications that this setup avoid.

This also returns opaque redirect responses earlier, to avoid having them processed twice, which was simply wrong (and would become extra wrong here).

Fixes #631.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/fetch/pull/633

-- Commit Summary --

  * Use request's current url as base URL in redirects

-- File Changes --

    M fetch.bs (11)

-- Patch Links --

https://github.com/whatwg/fetch/pull/633.patch
https://github.com/whatwg/fetch/pull/633.diff

-- 
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/pull/633

Received on Monday, 20 November 2017 12:12:50 UTC