[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #11581 [Onionoo]: Onionoo does not honor "Accept-Encoding: gzip"



#11581: Onionoo does not honor "Accept-Encoding: gzip"
-----------------------+---------------------
 Reporter:  alphawolf  |          Owner:
     Type:  defect     |         Status:  new
 Priority:  normal     |      Milestone:
Component:  Onionoo    |        Version:
 Keywords:             |  Actual Points:
Parent ID:             |         Points:
-----------------------+---------------------
 '''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.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11581>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs