falcon icon indicating copy to clipboard operation
falcon copied to clipboard

Add support for Content-Encoding

Open queertypes opened this issue 13 years ago • 4 comments

It'd be great to facilitate the use of Content-Encoding and Accepts-Encoding request/response headers (accepts_encoding, content_encoding).

I might tackle this soon, so interacting with compressed, streaming content through Falcon is easy.

More info: (wiki) HTTP Compression

queertypes avatar Oct 14 '13 17:10 queertypes

Just looked around https://gist.github.com/nvie/2769669 https://pypi.python.org/pypi/wsgigzip/0.1 It seems that WSGI server can also support this, like CherryPy's tools.gzip.on = True

lichray avatar Oct 21 '13 21:10 lichray

Seems like this would be better left to the WSGI container or reverse proxy in front of your app...

kgriffs avatar Jan 27 '15 23:01 kgriffs

@lichray Hey were you able to get this working on falcon itself ?

mevinbabuc avatar Jun 28 '22 09:06 mevinbabuc

@lichray Hey were you able to get this working on falcon itself ?

I haven't been using falcon for a long time.

lichray avatar Jun 28 '22 09:06 lichray