Skip to content

Commit 6b4f9c7

Browse files
committed
fix formatting
1 parent 2b6e9e8 commit 6b4f9c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wagtailcache/cache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ def process_request(self, request: WSGIRequest) -> Optional[HttpResponse]:
246246
response: HttpResponse
247247
if "If-None-Match" in request.headers and "Etag" in response.headers and \
248248
response.headers["Etag"] in parse_etags(
249-
request.headers["If-None-Match"]):
249+
request.headers["If-None-Match"]):
250250
not_modified = HttpResponse(status=304)
251251
not_modified.headers["Etag"] = response.headers["Etag"]
252252
# TODO: Cache-Control and Expires?

0 commit comments

Comments
 (0)