matchHeader doesn't work in Node 8.x
See original GitHub issuematchHeader
no longer functions as expected, neither when providing value as a string or a function. The culprit seems to be options.getHeader
returning undefined
for every header name because request._headers
(v9.0.13) is not set anymore.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:12 (2 by maintainers)
Top Results From Across the Web
NPM is not compatible with node 8.x - Stack Overflow
I know that version node 8.x is very old but I need works with project of this version on node. I installed a...
Read more >nock - npm.io
How does it work? ... Nock works by overriding Node's http.request function. Also, it overrides http.ClientRequest too to cover for modules that use...
Read more >Download - Node.js
Download the Node.js source code or a pre-built installer for your platform, and start developing today. LTS. Recommended For Most Users.
Read more >If-None-Match - HTTP - MDN Web Docs - Mozilla
For GET and HEAD methods, the server will return the requested resource, ... existing resource's ETag doesn't match any of the values listed....
Read more >Set up Node.js on WSL 2 - Windows - Microsoft Learn
Install nvm, node.js, and npm · Open your Ubuntu command line (or distribution of your choice). · Install cURL (a tool used for...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Will be released end of weekend
any plans of fixing this soon?