Closed
Description
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