simvue-io / simvue-io/python-api

Support gzip content encoding

Aperta
#730 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

Nessuno ha ancora preso questa issue.

ready for testing
Lingua principale
Python
Stelle
4
Fork
1
Merge medio
5g 8h
PR unite (30g)
4

Descrizione

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).

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.