解决方案是该库:https ://www.npmjs.com/package/http-parser-js
因此,要解决您的问题:
npm安装http-parser-js
process.binding('http_parser').HTTPParser = require('http-parser-js').HTTPParser;
Node.js请求:HPE_INVALID_HEADER_TOKEN
解决方案是该库:https ://www.npmjs.com/package/http-parser-js
因此,要解决您的问题:
npm安装http-parser-js
process.binding('http_parser').HTTPParser = require('http-parser-js').HTTPParser;