Hi.
I'm maintaining an app which consumes an 3rd party API that uses a non-standard header named api_key.
A call to HTTP.headers({foo: 'bar', api_key: 'somethingsecret'})returns:
#<HTTP::Client:0x00007f8b3e0db2b0
@connection=nil,
@default_options=
#<HTTP::Options:0x00007f8b3e0e0580
@cookies={},
@encoding=nil,
@features={},
@headers=#<HTTP::Headers {"Foo"=>"bar", "Api-Key"=>"somethingsecret"}>,
@keep_alive_timeout=5,
@nodelay=false,
...SNIP
I did some cursory looking in the code and didn't see a way to skip normalize_headers.
I'm just looking for some confirmation that there's no way to use the header verbatim.
Thanks for your time!
Stephen