fixup! ♻️(backend) use additional http extra methods for content action

This commit is contained in:
Manuel Raynaud
2026-04-22 12:02:17 +02:00
parent bf91810f3e
commit 7da9cb17ea

View File

@@ -1945,7 +1945,7 @@ class DocumentViewSet(
We retrieve the ETag and LastModified from the S3 head operation, save them in cache to We retrieve the ETag and LastModified from the S3 head operation, save them in cache to
reuse them in future requests. reuse them in future requests.
We check in the request if the ETag is present in the If-None-Match header and if it's the We check in the request if the ETag is present in the If-None-Match header and if it's the
same than the one from the S3 head operation, we return a 304 response. same as the one from the S3 head operation, we return a 304 response.
If the ETag is not present or not the same, we do the same check based on the LastModifed If the ETag is not present or not the same, we do the same check based on the LastModifed
value if present in the If-Modified-Since header. value if present in the If-Modified-Since header.
""" """