summaryrefslogtreecommitdiff
path: root/django/middleware
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-11-11 20:45:17 -0500
committerTim Graham <timograham@gmail.com>2017-11-11 20:45:17 -0500
commit8f8a4d10d34c1fd6104b08efd16c5c377c142865 (patch)
treed4a486e591f8fcad3640bdc40a7b63ed4f4f4227 /django/middleware
parent1907fc9b1292a55f1b8d54f4dbcdbda16bbb36c1 (diff)
Refs #26447 -- Removed outdated ETag comment in CommonMiddleware.
Follow up to 48d57788ee56811fa77cd37b9edf40535f82d87e.
Diffstat (limited to 'django/middleware')
-rw-r--r--django/middleware/common.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/django/middleware/common.py b/django/middleware/common.py
index 7e520b7061..2a74774654 100644
--- a/django/middleware/common.py
+++ b/django/middleware/common.py
@@ -94,8 +94,6 @@ class CommonMiddleware(MiddlewareMixin):
def process_response(self, request, response):
"""
- Calculate the ETag, if needed.
-
When the status code of the response is 404, it may redirect to a path
with an appended slash if should_redirect_with_slash() returns True.
"""