simvue-io / simvue-io/python-api

Support gzip content encoding

Đang mở
#730 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

ready for testing
Ngôn ngữ chính
Python
Star
4
Fork
1
Merge trung bình
5 ngày 8 giờ
Pull request đã merge (30 ngày)
4

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.