Closed
Description
I am building a HTTP proxy with hyper, and I realize that headers are all converted to lower case for HTTP/1.x.
There was an issue about adding http1_title_case_headers
for clients: #1492 , but we don't have a way to preserve the response headers' title case from remote servers.
Some client applications are expecting to receive header with name that is exactly the same as the server returns, for example:
- Nintendo Switch's connection checking will sent a GET request to
http://ctest.cdn.nintendo.net/
and expecting a response with headerX-Organization: Nintendo
.