creationix / http-parser-js

A pure JS HTTP parser for node.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not working on node13 with request module

voxsoftware opened this issue · comments

Monkey path not working on node13 with request module.
Still getting error HPE_INVALID_HEADER_TOKEN , so I assume that still using internal module

What Node version exactly? Also, have a simple example? HPE_INVALID_HEADER_TOKEN sounds like Node v11, but maybe that's still in there somewhere...

IN node 13.1.0
Is only a request to a gobernment website

I'm not seeing any problems with Node v13.1.0 here, though it did just release yesterday. Are you absolutely sure you're monkey-patching before anything is requiring http, or any other internal Node module?

Works with current Node v13 and v14 now.