[whatwg/fetch] Allow streaming requests to follow 301/2 redirects if method is 'POST' (#1058)

If I'm reading the spec correctly, we return an error if the body is a stream (it has no source) and we get a redirect that isn't 303 https://fetch.spec.whatwg.org/#concept-http-redirect-fetch (step 9).

It seems like we could allow 301/2 redirects if the method is POST, since the body is discarded (step 11).

-- 
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/1058

Received on Thursday, 16 July 2020 14:48:04 UTC