[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[snapshot/master] Try to double quote the etag (closes: #798978)



---
 web/app/snapshot/controllers/archive.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/app/snapshot/controllers/archive.py b/web/app/snapshot/controllers/archive.py
index 2a4cc47..fd54bff 100644
--- a/web/app/snapshot/controllers/archive.py
+++ b/web/app/snapshot/controllers/archive.py
@@ -65,7 +65,7 @@ class SnapshotFileApp(FileApp):
         self.digest = digest
 
     def calculate_etag(self):
-        return self.digest
+        return '"%s"' % (self.digest,)
 
 class ArchiveController(BaseController):
     db = None
-- 
2.1.4


Reply to: