Skip to content

Response.redirect() results in status message still being OK? #664

@domenic

Description

@domenic

https://fetch.spec.whatwg.org/commit-snapshots/9862bc5923c32b070486f27a22a0c3d8a61cb5d0/#response-class

Set r’s response’s status to status.

r's response's status message never gets changed from the default `OK`. Is that correct?

In Firefox and Chrome it does appear that

Response.redirect("https://example.com/", 301).statusText === "OK"

which is kinda weird.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions