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.

Header casing changed when request it sent

See original GitHub issue

I have a header in my configuration. "headers": { "X-Hub-Signature":"sha1=9046ee408f8c902dec5c84760f59djkfhasjfh73" }

When watching the logs of the address I am testing the header comes through like X-hub-signature.

The authentication system I am using requires the header be as defined as is instead of lowercased.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
hassycommented, Jun 15, 2020

@maximillianus we have just merged a PR which adds an option for preserving header casing: #839 which is now available on the v1.6 branch - https://github.com/artilleryio/artillery/tree/v1.6.x It will be part of the next release, but in the meantime you can try running Artillery directly from that branch.

0reactions
alxbglezcommented, Nov 4, 2022

Is this error fixed on NPM [2.0.0-24] Version? I’m having the same issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Are HTTP headers case-sensitive? - Stack Overflow
Header names are not case sensitive. From RFC 2616 - "Hypertext Transfer Protocol -- HTTP/1.1", Section 4.2, "Message Headers": Each header field consists ......
Read more >
HTTP client request headers (lowercase) issue - Google Groups
A recent update changed how client request headers are sent to force all headers to lowercase. This is causing problems with some well-established...
Read more >
If-Modified-Since - HTTP - MDN Web Docs
The If-Modified-Since request HTTP header makes the request conditional: the server sends back the requested resource, with a 200 status, ...
Read more >
HTTP/1.1 Header Casing - Envoy Proxy
When handling HTTP/1.1, Envoy will normalize the header keys to be all lowercase. While this is compliant with the HTTP/1.1 spec, in practice...
Read more >
RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1
A client sends a request to the server in the form of a request method, URI, ... HTTP-date is case sensitive and MUST...
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