ncr / rack-proxy

A request/response rewriting HTTP proxy. A Rack app.
MIT License
269 stars 94 forks source link

Underscore in header key #96

Open crazyoptimist opened 3 years ago

crazyoptimist commented 3 years ago

What's the purpose of replacing underscores with dashes? (a noob question)


How can I preserve underscore in header key? I see it's happening here I'm struggling to solve this issue because one of our 3rd party service endpoint needs injecting some headers and one of the header key has underscore!

crazyoptimist commented 3 years ago

In the nginx doc, they have on-off option for this, you can check it here
Similarly, can we make that configurable in this gem?
I can create a PR but this gem doesn't seem to be actively maintained...

aaronmallen commented 11 months ago

bump