Skip to content

Reset connection after HEAD? #258

@ronag

Description

@ronag

Continuing from nodejs/node#34350.

Some servers send a body with HEAD requests which is kind of un-parsable. There is however one way to be resilient against it. Always reset the connection after receiving the message headers for a HEAD request.

This would make things significantly slower though but much more resilient. How important are HEAD requests?

Should we just ignore this unfortunate case and hope that the target server behaves properly?

Opt-in/Opt-out option?

Metadata

Metadata

Assignees

No one assigned

    Labels

    question[Use a Discussion instead]

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions