Commit cdc5c9c2 authored by Łukasz Nowak's avatar Łukasz Nowak

Use always must-revalidate.

parent b06c2984
...@@ -468,7 +468,7 @@ class VifibRestApiV1Tool(BaseTool): ...@@ -468,7 +468,7 @@ class VifibRestApiV1Tool(BaseTool):
def __api_discovery(self): def __api_discovery(self):
self.REQUEST.response.setHeader('Last-Modified', self.REQUEST.response.setHeader('Last-Modified',
rfc1123_date(self.api_modification_date)) rfc1123_date(self.api_modification_date))
self.REQUEST.response.setHeader('Cache-Control', 'public') self.REQUEST.response.setHeader('Cache-Control', 'must-revalidate')
self.REQUEST.response.setStatus(200) self.REQUEST.response.setStatus(200)
d = { d = {
"discovery": { "discovery": {
......
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