Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

todo note #520

jonaswinkler7d677665088d
diff --git a/src/documents/views.py b/src/documents/views.py
index 3a840567d..9d1d87235 100755
--- a/src/documents/views.py
+++ b/src/documents/views.py
@@ -291,6 +291,8 @@ class DocumentViewSet(RetrieveModelMixin,
handle = GnuPG.decrypted(doc.thumbnail_file)
else:
handle = doc.thumbnail_file
+ # TODO: Send ETag information and use that to send new thumbnails
+ # if available
return HttpResponse(handle,
content_type='image/png')
except (FileNotFoundError, Document.DoesNotExist):