You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OK, so reading the fetch spec it looks like responses corresponding to redirects have type "opaqueredirect", which hides the status code, message, headers, and body.
This will break things that actually expect these things in node, like request's redirection logic. So just adding support for manual redirects won't really do the right thing.
What's the right thing to do? Should stream-http give redirects a fake 3xx status code?
Is it not accessible via the use of
fetch
's{redirect:'manual'}
?The text was updated successfully, but these errors were encountered: