Skip to content

Incorrect name of HTTP status code 425 #29879

@hcz

Description

@hcz

Current icorrect: 425 (Unordered Collection) https://github.com/nodejs/node/blob/master/lib/_http_server.js#L115
Correct code: 425 (Too Early) https://tools.ietf.org/html/rfc8470#section-5.2

RFC 4918, that was mentioned in comment, does not contain status code 425.

I've found this name for this status code only in the very old and one of the first RFC 3648 drafts.

Thus, the idea of renaming this status code for the future Node.js versions seems to be good.

Related issue: #1470

  • Version: any
  • Platform: any
  • Subsystem: any

Metadata

Metadata

Assignees

No one assigned

    Labels

    httpIssues or PRs related to the http subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions