Skip to content

allow insecure-http-header parsing to be requested per server #31440

@sam-github

Description

@sam-github

Is your feature request related to a problem? Please describe.
Please describe the problem you are trying to solve.

Some servers deviate from HTTP spec enougth that Node.js can't communicate with them, but "work" when --insecure-http-parser is enabled globally. It would be useful to be able to use this mode, as a client, only when connecting to known bad servers.

See: #30567 (comment)

cc: @addaleax

Metadata

Metadata

Assignees

Labels

httpIssues or PRs related to the http subsystem.

Type

No type
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