Skip to content

Set the first parameter of the setHeaders option to Koa Response #130

Open
@YSMJ1994

Description

@YSMJ1994

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions