Skip to content

respose.setHeader() should return response to allow chaining #33148

Closed
@ftzi

Description

@ftzi

Currently, response.setHeader() doesn't return anything. It really should simply return the response to allow chainings like response.setHeader(xxx).send(yyy)

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssues that request new features to be added to Node.js.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions