Binary package “python3-django-compression-middleware” in ubuntu plucky

Django middleware to compress responses using several algorithms

 This middleware implements compressed content encoding for HTTP. It is similar
 to Django's GZipMiddleware, but additionally supports other compression
 methods. It is meant to be a drop-in replacement for Django's GZipMiddleware.
 .
 The middleware is focussed on the task of compressing typical Django responses
 such as HTML, JSON, etc. Both normal (bulk) and streaming responses are
 supported. For static file compression, have a look at other projects such as
 WhiteNoise.
 .
 Zstandard is a new method for compression with little client support so far.
 Most browsers now support Brotli compression. The middleware will choose the
 best compression method supported by the client as indicated in the request's
 Accept-Encoding header.