diff --git a/app.py b/app.py index 87ce35a..e12b72a 100644 --- a/app.py +++ b/app.py @@ -48,6 +48,9 @@ class ProxyHandler(http.server.BaseHTTPRequestHandler): if (starting == True): self.send_response(201) self.send_header('Content-Type', 'text/plain') + self.send_header('Cache-Control', 'no-cache, no-store, must-revalidate') + self.send_header('Pragma', 'no-cache') + self.send_header('Expires', '0') self.send_header('refresh', proxy_host_configuration['proxy_timeout_seconds']) self.end_headers() self.wfile.write(bytes("starting container: {0} waiting for {1}s".format(container['container_name'], proxy_host_configuration['proxy_timeout_seconds']),"utf-8"))