From 49d7e494ef43d2d2ee343590a20411ee30483641 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabrice=20Desr=C3=A9?= Date: Fri, 16 Sep 2022 09:59:13 -0700 Subject: [PATCH] Remove invalid If-Modified-Since header (#235) --- iroh-gateway/src/headers.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/iroh-gateway/src/headers.rs b/iroh-gateway/src/headers.rs index 7a1d950d7..c6bd69c91 100644 --- a/iroh-gateway/src/headers.rs +++ b/iroh-gateway/src/headers.rs @@ -61,7 +61,6 @@ pub fn add_cache_control_headers(headers: &mut HeaderMap, metadata: Metadata) { HeaderValue::from_str(&lmdt.to_string()).unwrap(), ); } else { - headers.insert(LAST_MODIFIED, HeaderValue::from_str("0").unwrap()); headers.insert(CACHE_CONTROL, VAL_IMMUTABLE_MAX_AGE.clone()); } }