HTTP client: Support compression (Content-Encoding: gzip)
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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 👍
- Ngôn ngữ chính
- PHP
- Star
- 781
- Fork
- 166
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của reactphp/http
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 76/100
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
-
Roadmap to reactphp/http v3 Đang mởmaintenance
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
-
new feature
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
-
help wanted new feature
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100