aboutsummaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/net/http_cache.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/net/http_cache.rs b/components/net/http_cache.rs
index 81109df2bda..a743a05cdde 100644
--- a/components/net/http_cache.rs
+++ b/components/net/http_cache.rs
@@ -230,8 +230,8 @@ fn get_response_expiry(response: &Response) -> Duration {
let max_heuristic = Duration::hours(24) - age;
let heuristic_freshness = if let Some(last_modified) =
// If the response has a Last-Modified header field,
- // caches are encouraged to use a heuristic expiration value
- // that is no more than some fraction of the interval since that time.
+ // caches are encouraged to use a heuristic expiration value
+ // that is no more than some fraction of the interval since that time.
response.headers.typed_get::<LastModified>()
{
let current = time::now().to_timespec();