Commit 326f966f authored by Łukasz Nowak's avatar Łukasz Nowak

Set explicitly Cache-Control header.

parent cf730de3
......@@ -90,6 +90,7 @@ def convertToREST(function):
raise NotFound(log)
except SoftwareInstanceNotReady, log:
self.REQUEST.response.setStatus(408)
self.REQUEST.response.setHeader('Cache-Control', 'private')
return self.REQUEST.response
except ValidationFailed:
LOG('SlapTool', INFO, 'Converting ValidationFailed to ValidationFailed,'\
......
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