0.35.4
This commit is contained in:
1 parent
c038ad44b3
commit
cd3c28d390
33 files changed
+807
-221
No files matched your search
Vendored
+1
-1
@@ -99,7 +99,7 @@ impl Cache {
|
||||
self.counters.hits.fetch_add(1, Ordering::Relaxed);
|
||||
let mut response = cached.response(headers);
|
||||
response.headers_mut().insert(::http::header::AGE,
|
||||
HeaderValue::from_str(&age.to_string()).expect("integer header"),
|
||||
HeaderValue::from(age),
|
||||
);
|
||||
Some(Hit {
|
||||
response,
|
||||
|
||||
Reference in new issue
Block a user