seanmonstar / reqwest

An easy and powerful Rust HTTP Client
https://docs.rs/reqwest
Apache License 2.0
9.75k stars 1.1k forks source link

HeaderName in .header is automatically converted to lower-case #1510

Closed chirok11 closed 2 years ago

chirok11 commented 2 years ago

Hello! While using Request builder .header is ignoring case in HeaderName and automatically converted to lower-case. I created issue https://github.com/hyperium/http/issues/535. and hoped to solve it through using .header method, but unfortunately - it is automatically ignoring my case and converting to lower-case header name. I hope you make changes and at least willl stop forcing custom user headers to lower-case.

seanmonstar commented 2 years ago

This has been discussed in #402 and #924.

rcastill commented 2 years ago

Not exactly up for discussion