appcues / mojito

An easy-to-use Elixir HTTP client, built on the low-level Mint library.
https://hexdocs.pm/mojito/Mojito.html
MIT License
349 stars 34 forks source link

Header Capitalization #44

Closed dowusu closed 4 years ago

dowusu commented 4 years ago

I ran into an issue today where the server I'm connecting to was returning an error indicating that a mandatory custom header parameter was missing. After hours of troubleshooting, we discovered that the server couldn't read the request header mainly due to it casing. Is there a way to prevent to force Mojito not to downcase your request headers. It been an awesome library and will be hard for me to turn to a different library. Kindly assist pls