[Twisted-Python] Serving Compressed HTTP

Doug Ransom doug.ransom at alumni.uvic.ca
Tue Jan 25 10:45:53 EST 2005


Any thoughts on serving compressed HTTP.  I didn't see anything in 
twisted to do this out of the box.  Do I need to create a new reactor?  
Here are some use cases:

if a user-agent accepts compressed data

- compress static content
- compress static content, caching the result somewhere
- return compressed "memory" data.
- return compressed dynamic data

- return compressed dynamic data only when certain mime types are supplied.


Doug Ransom




More information about the Twisted-Python mailing list