Skip to content

Commit

Permalink
Remove invalid If-Modified-Since header (n0-computer#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabricedesre committed Sep 23, 2022
1 parent 561d27b commit 49d7e49
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion iroh-gateway/src/headers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
}
Expand Down

0 comments on commit 49d7e49

Please sign in to comment.