[http] fix cache-control syntax in EtagHTTPCacheManager
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Tue, 28 Apr 2015 17:00:35 +0200
changeset 10348 b9bb4296133d
parent 10344 25afbf2d14cf
child 10372 9222e056584e
[http] fix cache-control syntax in EtagHTTPCacheManager use , to separate cache response directive closes #5307539
web/httpcache.py
--- a/web/httpcache.py	Wed Apr 22 17:48:32 2015 +0200
+++ b/web/httpcache.py	Tue Apr 28 17:00:35 2015 +0200
@@ -75,7 +75,7 @@
             self.req.set_header('Cache-control', 'no-cache')
             return
         req.set_header('Cache-control',
-                       'must-revalidate;max-age=%s' % self.max_age())
+                       'must-revalidate,max-age=%s' % self.max_age())
         mdate = self.last_modified()
         # use a timestamp, not a formatted raw header, and let
         # the front-end correctly generate it