diff --git a/src/backend/core/api/viewsets.py b/src/backend/core/api/viewsets.py index 52e1c26d..5f6d95f9 100644 --- a/src/backend/core/api/viewsets.py +++ b/src/backend/core/api/viewsets.py @@ -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/")