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

koa-timeout doesn't respect status parameter #151

Open
quarhodron opened this issue Nov 2, 2021 · 0 comments
Open

koa-timeout doesn't respect status parameter #151

quarhodron opened this issue Nov 2, 2021 · 0 comments

Comments

@quarhodron
Copy link

koa-timeout package doesn't respect the status parameter.

I think in this place https://github.com/uswitch/koa-core/blob/master/packages/koa-timeout/koa-timeout.js#L19 it should be ctx.status instead of 408. Additionally, it would be nice if the error message was be parameterized.

pinging the last contributor @phelma

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

1 participant