From 78d495cfa2c4741e8f5f81e7fcafc99bccadc994 Mon Sep 17 00:00:00 2001 From: blek Date: Tue, 10 Oct 2023 01:15:34 +1000 Subject: [PATCH] use 1984 as the date header --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index b9d93fc..b15a439 100644 --- a/src/main.rs +++ b/src/main.rs @@ -33,7 +33,7 @@ async fn main() { let mut res = Response::new(out.into()); res.headers_mut().insert("Content-Type", warp::http::HeaderValue::from_static("image/png")); - res.headers_mut().insert("Date", warp::http::HeaderValue::from_static("Thu, 01 Jan 1970 00:00:00 GMT")); + res.headers_mut().insert("Date", warp::http::HeaderValue::from_static("Sun, 01 Jan 1984 00:00:00 GMT")); res }) );