add security response HTTP headers if not present

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-05-07 12:53:30 -04:00 committed by June
parent e4e1636da8
commit d4d9f92ade
3 changed files with 36 additions and 2 deletions

View file

@ -25,7 +25,7 @@ use crate::{
const MXC_LENGTH: usize = 32;
/// Cache control for immutable objects
const CACHE_CONTROL_IMMUTABLE: &str = "public, max-age=31536000, immutable";
const CACHE_CONTROL_IMMUTABLE: &str = "public,max-age=31536000,immutable";
const CORP_CROSS_ORIGIN: &str = "cross-origin";