When I send a header parameter with a name contain underscore, for example:
curl --header "my_var_name: testing" https://httpbin.org/headers
I see in the response, my_var_name got changed to My-Var-Name.
I see two issues with this:
- the underscore got changed to hyphen,
- the all lower-case name was capitalized.