-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Option to preserve header's title case #2313
Copy link
Copy link
Closed
Labels
A-http1Area: HTTP/1 specific.Area: HTTP/1 specific.C-featureCategory: feature. This is adding a new feature.Category: feature. This is adding a new feature.
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-http1Area: HTTP/1 specific.Area: HTTP/1 specific.C-featureCategory: feature. This is adding a new feature.Category: feature. This is adding a new feature.