From 7da9cb17eaed19a22db022cf650c252736e48b72 Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Wed, 22 Apr 2026 12:02:17 +0200 Subject: [PATCH] =?UTF-8?q?fixup!=20=E2=99=BB=EF=B8=8F(backend)=20use=20ad?= =?UTF-8?q?ditional=20http=20extra=20methods=20for=20content=20action?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/backend/core/api/viewsets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/core/api/viewsets.py b/src/backend/core/api/viewsets.py index d86a8371c..b0d09c2a5 100644 --- a/src/backend/core/api/viewsets.py +++ b/src/backend/core/api/viewsets.py @@ -1945,7 +1945,7 @@ class DocumentViewSet( We retrieve the ETag and LastModified from the S3 head operation, save them in cache to 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 - 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 value if present in the If-Modified-Since header. """