[3.0.x] Refs #15396 -- Mentioned full path to GZipMiddleware in documentation.

Backport of f1d4a540b2 from master
This commit is contained in:
Mar Sánchez 2019-09-26 12:32:56 -07:00 committed by Mariusz Felisiak
parent b6da3192c0
commit 9fa6c737df
1 changed files with 2 additions and 2 deletions

View File

@ -95,8 +95,8 @@ GZip middleware
.. _the BREACH paper (PDF): http://breachattack.com/resources/BREACH%20-%20SSL,%20gone%20in%2030%20seconds.pdf
.. _breachattack.com: http://breachattack.com
Compresses content for browsers that understand GZip compression (all modern
browsers).
The ``django.middleware.gzip.GZipMiddleware`` compresses content for browsers
that understand GZip compression (all modern browsers).
This middleware should be placed before any other middleware that need to
read or write the response body so that compression happens afterward.