fixup! ️(backend) implement etag and last_modified cache headers to fetch content
Some checks are pending
Helmfile lint / helmfile-lint (push) Waiting to run

This commit is contained in:
Manuel Raynaud 2026-04-21 08:51:52 +02:00
parent 8e7939438c
commit 969b677f70
No known key found for this signature in database
GPG key ID: 3F45EEDEBF44E874

View file

@ -1975,7 +1975,8 @@ class DocumentViewSet(
# quotes. Proxies (e.g. nginx with gzip) convert strong ETags to weak ones,
# so a strict equality check would fail on production even when unchanged.
logger.debug("etag value : ", etag)
logger.debug("if_none_match value : " if_none_match)
logger.debug("if_none_match value : ", if_none_match)
def _etag_value(tag):
if tag:
tag = tag.removeprefix("W/")