simvue-io / simvue-io/python-api

Support gzip content encoding

Offen
#730 1 Kommentar 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

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

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.