Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Making `preserve_header_order` option official

クローズ
#3,914 コメント 11 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
52/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust
領域
api

調査の方向性

src/client/conn/http1.rs の473-476行付近から始め、preserve_header_order が現在どのように ffi の背後で制限されているかを追跡します。これを公式な機能にするうえでのブロッカーを特定し、その後、ffi なしでこのオプションを利用でき、プロキシのユースケースでレスポンスヘッダーの順序が保持されることを確認します。

索引モデルが issue の本文から書いたものです。

説明

C-feature S-waiting-on-author

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_order to official as it is now ffi.

https://github.com/hyperium/hyper/blob/master/src/client/conn/http1.rs#L473-L476

Describe alternatives you've considered

Use preserve_header_order with ffi enabled.

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.

主要言語
Rust
スター
16.4k
フォーク
1.8k
平均マージ
5日 17分
マージ済み PR(30日)
19

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

hyperium/hyper のほかの issue

hyperium/hyper の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。