Fixed typo in docs/ref/middleware.txt.

This commit is contained in:
Daniel Musketa 2018-11-14 15:47:22 +01:00 committed by Tim Graham
parent ff8020ed49
commit ca2856fb62
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ Conditional GET middleware
.. class:: ConditionalGetMiddleware
Handles conditional GET operations. If the response doesn't have an ``ETag``
header, the middleware adds one if needed. If the response has a ``ETag`` or
header, the middleware adds one if needed. If the response has an ``ETag`` or
``Last-Modified`` header, and the request has ``If-None-Match`` or
``If-Modified-Since``, the response is replaced by an
:class:`~django.http.HttpResponseNotModified`.