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):