Re: [whatwg/fetch] Why does Fetch specify a max redirect count of 20? (#576)

I was  looking a bit through Firefox code. 
non-internal redirects are http response redirects, service worker and HSTS. Anything else is internal.
@kinu My question was, if it will be possible to implement "only-network-redirect" limit if we decide to do so.

"only-network-redirect" would be a redirect resulting from a response with redirect status (suggested [here](https://github.com/whatwg/fetch/issues/576#issuecomment-588222721)).

Whether we should count HSTS as a redirect or not, I would say we should not include it, but  I do not have a strong opinion. It cannot cause any loops.

-- 
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/576#issuecomment-589833054

Received on Friday, 21 February 2020 21:01:07 UTC