hardcode date in hope that the requests would be cached
This commit is contained in:
parent
7cf00857bb
commit
88520502ea
|
@ -33,6 +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
|
||||
})
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue