From b31e085d593ce65a4a1293ef9983b9d25b3aafa6 Mon Sep 17 00:00:00 2001 From: gru Date: Thu, 5 Feb 2026 13:14:58 +0100 Subject: [PATCH] Update app.py --- app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app.py b/app.py index ca537f6..956e5ce 100644 --- a/app.py +++ b/app.py @@ -77,6 +77,8 @@ def add_header(response): if request.path.startswith('/static/'): response.cache_control.max_age = 31536000 response.cache_control.public = True + response.headers.pop('Content-Disposition', None) + else: response.cache_control.no_cache = True response.cache_control.no_store = True