This commit is contained in:
Mateusz Gruszczyński committed 2026-10-25 09:58:39 +01:00
1 parent 37c197c095
commit 5ac3617947
48 files changed
+1049 -255

No files matched your search

+1 -8
View File
@@ -27,14 +27,7 @@ impl Cache {
headers.insert("date", value);
}
}
for name in [
"x-request-id",
"x-cache",
"x-cache-hits",
"x-cache-status",
"x-cache-reason",
"cache-status",
] {
for name in ["x-request-id"] {
headers.remove(name);
}
let hits = cached.hits.saturating_add(1);