use 1984 as the date header

This commit is contained in:
blek 2023-10-10 01:15:34 +10:00
parent 88520502ea
commit 78d495cfa2
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 1 additions and 1 deletions

View File

@ -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
})
);