HTTP client: Support compression (Content-Encoding: gzip)
還沒有人認領這個 Issue。
評估
研究方向
Start by tracing the HTTP client’s buffered response handling and the withResponseBuffer() path, then compare the streaming approach with clue/reactphp-zlib. Done means opt-in gzip negotiation and decompression work for buffered responses while respecting withResponseBuffer(), with streaming support addressed as specified.
由索引模型根據 Issue 內容生成。
描述
This library should support requesting compressed responses and automatically decompress using the Accept-Encoding request header and Content-Encoding response header.
This should be an opt-in feature.
Implementing this for buffered requests shouldn't be too hard. This should make sure to also respect the withResponseBuffer() setting.
Implementing this for streaming requests is doable, see also https://github.com/clue/reactphp-zlib.
We welcome contributions, reach out if you want to support this project 👍
- 主要語言
- PHP
- 星號
- 781
- 分支
- 166
- PR 合併指標
- 30 天內沒有已合併 PR
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
reactphp/http 的其他 Issue
-
bug
難度 3/5 1-2 天 新手友好度 76/100
-
bug
難度 3/5 1-2 天 新手友好度 35/100
-
maintenance
難度 5/5 一週以上 新手友好度 20/100
-
new feature
難度 4/5 3-5 天 新手友好度 48/100
-
help wanted new feature
難度 5/5 一週以上 新手友好度 25/100
相似的 Issue
-
sync-en
難度 1/5 1-3 小時 新手友好度 85/100
-
sync-en
難度 1/5 1-3 小時 新手友好度 85/100
-
Перевод устарел
難度 1/5 1-3 小時 新手友好度 78/100
-
難度 1/5 1 小時以內 新手友好度 90/100
-
難度 2/5 1-3 小時 新手友好度 85/100