blob: f709b5e743581aa392367f54f4732a01cb01453f (
plain) (
blame)
1
2
3
4
5
6
7
|
Flask-Compress both adds the various headers required for a compressed
response and gzips the response data. This makes serving gzip compressed
static files extremely easy.
Internally, every time a request is made the extension will check if
it matches one of the compressible MIME types and will automatically
attach the appropriate headers.
|