Skip to content

Koa response status

Compare
Choose a tag to compare
@afenton90 afenton90 released this 14 Sep 12:37
· 13 commits to master since this release

This release fixes an issue where the response status in the koa context was not being read.
Previous behaviour was that response status was always 200 if it was not set in the router staticContext.
Behaviour now is that if the status is NOT set in the staticContext it will be read from the koa response context (A.K.A ctx.response.status)