Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.4.X] Fixed #18473 - Fixed a suggestion that GZipMiddleware needs t…

…o be first in the list of middleware.

Backport of 3e08570 from master
  • Loading branch information...
commit 73991b0b325f07fc62179c3684ed921f141e69ce 1 parent 33d1146
@timgraham timgraham authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/ref/middleware.txt
View
4 docs/ref/middleware.txt
@@ -93,8 +93,8 @@ GZip middleware
Compresses content for browsers that understand GZip compression (all modern
browsers).
-It is suggested to place this first in the middleware list, so that the
-compression of the response content is the last thing that happens.
+This middleware should be placed before any other middleware that need to
+read or write the response body so that compression happens afterward.
It will NOT compress content if any of the following are true:
Please sign in to comment.
Something went wrong with that request. Please try again.