Onionoo does not honor "Accept-Encoding: gzip"
Problem:
Onionoo delivers large documents uncompressed, even when gzip compression is requested.
Details:
According to onionoo's documentation:
Compression
Clients should include an "Accept-Encoding: gzip" header in their requests and handle gzip-compressed responses. Only requests starting at a certain size will be compressed by the server.
Chrome passes:
Accept-Encoding:gzip,deflate,sdch
Firefox passes:
Accept-Encoding:gzip, deflate
Despite this, when viewing the "details" and "bandwidth" documents, they are delivered uncompressed. These are 10.5 MB and 48.6 MB, respectively.
Duplication:
Simply browse the /details or /bandwidth URLs @ https://onionoo.torproject.org. Use Chrome/Firefox's respective web developer tools to view relevant headers and document sizes.
Expected Result:
These documents should be delivered using gzip compression when requested.
Trac:
Username: alphawolf