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

option "setHeaders" args[0] change to the Koa response object #129

Closed
wants to merge 1 commit into from

Conversation

YSMJ1994
Copy link

I think most people are used to using " Koa Response" in koa or not "Node Response"。
Just like use ctx.response.set('Cache-Control', 'max-age=0') or not ctx.res.setHeader(...)。
Because Koa officially states Bypassing Koa's response handling is not supported

@YSMJ1994 YSMJ1994 closed this Jan 12, 2020
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

Successfully merging this pull request may close these issues.

1 participant