-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Making preserve_header_order option official #3914
Copy link
Copy link
Open
Labels
C-featureCategory: feature. This is adding a new feature.Category: feature. This is adding a new feature.S-waiting-on-authorStatus: waiting on the author to provide more info, or make changes.Status: waiting on the author to provide more info, or make changes.
Description
Activity
Metadata
Metadata
Assignees
Labels
C-featureCategory: feature. This is adding a new feature.Category: feature. This is adding a new feature.S-waiting-on-authorStatus: waiting on the author to provide more info, or make changes.Status: waiting on the author to provide more info, or make changes.
Is your feature request related to a problem? Please describe.
Our use case of Hyper is using it as a proxy server. One of the difference from proxy test we found is the order of the headers in the response. The order of the headers may be different in some cases, and we are seeing diff when comparing w/ and w/o Hyper in front of the existing server.
Describe the solution you'd like
Making
preserve_header_orderto official as it is nowffi.https://github.com/hyperium/hyper/blob/master/src/client/conn/http1.rs#L473-L476
Describe alternatives you've considered
Use
preserve_header_orderwithffienabled.However, I'd like to understand if there is any blocking issue to make the feature to official.
If there is any, I can also help.
Additional context
Add any other context or screenshots about the feature request here.