Commit c1deaaed authored by Romain Courteaud's avatar Romain Courteaud

erp5_web_manifest: fetch the vanilla HTML

parent c4bd6cd2
...@@ -5,6 +5,9 @@ if response is None: ...@@ -5,6 +5,9 @@ if response is None:
web_page = context web_page = context
# The vanilla HTML is wanted
response.setBase(None)
if REQUEST.getHeader('If-Modified-Since', '') == web_page.getModificationDate().rfc822(): if REQUEST.getHeader('If-Modified-Since', '') == web_page.getModificationDate().rfc822():
response.setStatus(304) response.setStatus(304)
return "" return ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment