question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

matchHeader doesn't work in Node 8.x

See original GitHub issue

matchHeader 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:closed
  • Created 6 years ago
  • Reactions:5
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
ianwsperbercommented, Jul 14, 2017

Will be released end of weekend

2reactions
shahatacommented, Jul 8, 2017

any plans of fixing this soon?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found