HTTP client: Support compression (Content-Encoding: gzip)
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 35/100
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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 👍
- Langage dominant
- PHP
- Étoiles
- 781
- Forks
- 166
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de reactphp/http
-
bug
Difficulté 3/5 1-2 jours Accessibilité débutants 76/100
-
bug
Difficulté 3/5 1-2 jours Accessibilité débutants 35/100
-
Roadmap to reactphp/http v3 Ouvertemaintenance
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 20/100
-
new feature
Difficulté 4/5 3-5 jours Accessibilité débutants 48/100
-
help wanted new feature
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
Toutes les issues de reactphp/http
Issues similaires
-
Admissions heading updates Ouvertea11y admissions.uiowa.edu needs grooming SiteImprove best practice
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
-
Save States Menu Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
-
Error on exporting the error log Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
pluginsGLPI/datainjection#673 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
octobercms/october#6130 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
getgrav/grav-plugin-form#656 ·