simvue-io / simvue-io/python-api
Support gzip content encoding
Offen
Dieses Issue hat noch niemand übernommen.
ready for testing
- Vorherrschende Sprache
- Python
- Sterne
- 4
- Forks
- 1
- Ø Merge
- 5 T. 8 Std.
- Gemergte PRs (30 T.)
- 4
Beschreibung
Please consider adding a header Accept-Encoding: gzip for GET requests. This will cause the server to return gzipped JSON responses, for content > 1000 bytes currently. The requests module should automatically deal with uncompressing it, so adding the header is literally all that is required.
The server supports this for all endpoints, but of course will be most beneficial for responses containing lots of data, e.g. large numbers of runs, large numbers of metrics.
(Not yet deployed on nightly, I'll update this issue once this is done).
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.