| 1 |
Source: django-compression-middleware |
| 2 |
Maintainer: Debian Python Team <[email protected]> |
| 3 |
Uploaders: Edward Betts <[email protected]> |
| 4 |
Section: python |
| 5 |
Priority: optional |
| 6 |
Build-Depends: debhelper-compat (= 13), |
| 7 |
dh-sequence-python3, |
| 8 |
python3-all, |
| 9 |
python3-brotli <!nocheck>, |
| 10 |
python3-django <!nocheck>, |
| 11 |
python3-pytest <!nocheck>, |
| 12 |
python3-setuptools, |
| 13 |
python3-zstandard <!nocheck> |
| 14 |
Rules-Requires-Root: no |
| 15 |
Standards-Version: 4.6.2 |
| 16 |
Homepage: https://github.com/friedelwolff/django-compression-middleware |
| 17 |
Vcs-Browser: https://salsa.debian.org/python-team/packages/django-compression-middleware |
| 18 |
Vcs-Git: https://salsa.debian.org/python-team/packages/django-compression-middleware.git |
| 19 |
|
| 20 |
Package: python3-django-compression-middleware |
| 21 |
Architecture: all |
| 22 |
Depends: ${misc:Depends}, ${python3:Depends} |
| 23 |
Description: Django middleware to compress responses using several algorithms |
| 24 |
This middleware implements compressed content encoding for HTTP. It is similar |
| 25 |
to Django's GZipMiddleware, but additionally supports other compression |
| 26 |
methods. It is meant to be a drop-in replacement for Django's GZipMiddleware. |
| 27 |
. |
| 28 |
The middleware is focussed on the task of compressing typical Django responses |
| 29 |
such as HTML, JSON, etc. Both normal (bulk) and streaming responses are |
| 30 |
supported. For static file compression, have a look at other projects such as |
| 31 |
WhiteNoise. |
| 32 |
. |
| 33 |
Zstandard is a new method for compression with little client support so far. |
| 34 |
Most browsers now support Brotli compression. The middleware will choose the |
| 35 |
best compression method supported by the client as indicated in the request's |
| 36 |
Accept-Encoding header. |