Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle redirects from responses #4

Open
RangerMauve opened this issue Jun 24, 2022 · 0 comments
Open

Handle redirects from responses #4

RangerMauve opened this issue Jun 24, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@RangerMauve
Copy link
Owner

We should support fetch handlers returning 301 and 302 redirects and support the redirect parameter in the request.

The default redirect parameter should be follow, but the redirect following should be opted out by redirect: "manual".

This makes some logic like navigating to a proper directory URL ending in / more straightforward to implement. Similarly, being able to opt-out is useful for the Browser protocol handler use case where the user agent follows redirects for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant