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

HTTP Error code 425 #1388

Closed
VojtechKlos opened this issue Oct 4, 2019 · 3 comments
Closed

HTTP Error code 425 #1388

VojtechKlos opened this issue Oct 4, 2019 · 3 comments

Comments

@VojtechKlos
Copy link

When returning error code 425 according to the specification (https://tools.ietf.org/html/rfc8470#section-5.2) the message should be "Too Early" but in Koa it is now "Unordered Collection". Can you take a look at it and consider a fix? Thanks.

@hcz
Copy link
Contributor

hcz commented Oct 7, 2019

Koa.js uses built-in Node.js status codes nodejs/node#29879

@fl0w
Copy link
Contributor

fl0w commented Oct 8, 2019

Just for reference, Koa also uses statuses package via http-errors which does follow 8470 correctly.

@VojtechKlos
Copy link
Author

Ok so it is not a koa issue. I shall close this one I guess

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

No branches or pull requests

3 participants