Skip to content

api docs say incomingMessage.headers is read-only but it is not #3146

@kapouer

Description

@kapouer

While http documentation says it is a Read-Only map, it isn't and nothing (not event tests) prevent from writing to an incoming message headers.
This is actually a feature which some might find useful (for writing express middlewares), so my
suggestion is to fix the documentation, not the code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to the documentations.httpIssues or PRs related to the http subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions