zmiany w req

This commit is contained in:
Mateusz Gruszczyński committed 2025-08-28 14:52:00 +02:00
1 parent 591b600b17
commit e9504775d7
1 file changed
+1
+1
View File
@@ -1251,6 +1251,7 @@ def apply_headers(response):
return response
if response.status_code in (301, 302, 303, 307, 308):
response.headers["Cache-Control"] = "no-store"
response.headers.pop("Vary", None)
return response