Skip to content

Treat 307 and 308 as redirects in HTTPS imports #43679

Closed
@kidonng

Description

@kidonng

What is the problem this feature will solve?

Quoting #36328 (comment):

We should probably think of adding support for HTTP status code 307 and 308 at some point.

What is the feature you are proposing to solve the problem?

Per RFC 7231 and 7238, HTTP 307 and 308 status code are also for redirect responses.

What alternatives have you considered?

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssues that request new features to be added to Node.js.loadersIssues and PRs related to ES module loaders

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions