Skip to content

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions