diff --git a/tools/python/xen/web/http.py b/tools/python/xen/web/http.py index 5cabb95e24..e11d8d29bd 100644 --- a/tools/python/xen/web/http.py +++ b/tools/python/xen/web/http.py @@ -437,6 +437,9 @@ class HttpRequest: send_body = self.hasBody() if not self.close_connection: self.setResponseHeader("Connection", "keep-alive") + self.setResponseHeader("Pragma", "no-cache") + self.setResponseHeader("Cache-Control", "no-cache") + self.setResponseHeader("Expires", "-1") if send_body: self.output.seek(0, 0) body = self.output.getvalue()