fix: Cache-Control-Header — Browser cached das iframe

This commit is contained in:
Hermes Agent
2026-07-09 17:33:47 +02:00
parent 32b7378466
commit 18fc7197fc
4 changed files with 15 additions and 0 deletions
+3
View File
@@ -265,6 +265,9 @@ class FehlerHandler(http.server.BaseHTTPRequestHandler):
self.send_response(200)
self.send_header("Content-Type", "text/html; charset=utf-8")
self.send_header("Content-Length", str(len(html)))
self.send_header("Cache-Control", "no-cache, no-store, must-revalidate")
self.send_header("Pragma", "no-cache")
self.send_header("Expires", "0")
self.end_headers()
self.wfile.write(html)
return