-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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 v2: ctx.status initially 404 rather than undefined. #888
Comments
Yes, that's the case. I thought we already fixed the documentation. Oops. |
See #705, but the resolution there is incorrect |
Slightly a shame in my particular case as I wanted |
@sc0ttyd you might try |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The koa-v2 documentation states that:
Yet, it appears to be initially set to 404. If I make a request to the following simple test server:
I get
status: 404
on the console.The text was updated successfully, but these errors were encountered: