Skip to content

Handle redirects from responses #4

Open
@RangerMauve

Description

@RangerMauve

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions