[Twisted-Python] Serving files, again

Andrew Bennetts andrew-twisted at puzzling.org
Wed Feb 26 18:57:46 EST 2003

On Wed, Feb 26, 2003 at 07:20:02PM +0000, Clark C. Evans wrote:
> the file a chunk at a time.   Further, it'd be cool if I could 
> specify in the request object if the response should be compressed
> via gzip.

Probably what should happen is that Twisted Web should look for the
Content-Transfer-Encoding header (or whatever it's called), and
automatically gzip if appropriate.  The response should probably be able to
indicate that gzipping would a waste of time, though -- there's not much
point to gzipping jpegs, or .gz files...


More information about the Twisted-Python mailing list