Re: [whatwg/fetch] Header to opt out of opaque redirect (#601)

> > If you use fetch, and request is success, you can determine that a redirect has occurred by redirected flag in fetch result.
> > Url in fetch result is changed too.
> > But if you have more than one redirect in fetch roundtrip, that mean you can't get intermediate url address, only last.
> 
> Not really possible if the redirect was to a third party origin. so cors kicks in and you then cant read the url it attempted to reach cross origin. Even though it can be viewed in the network debug tab in devtools.

Shouldn't matter is the **target** is a third party ( think OpenId/Connect), if the system *initiating* the redirect is same site, then we should be able to read the destination header

-- 
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/601#issuecomment-615212479

Received on Friday, 17 April 2020 12:18:25 UTC