We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28e7a67 commit 25828f2Copy full SHA for 25828f2
src/web/embed.rs
@@ -34,7 +34,7 @@ fn gen_etag(asset: &EmbeddedFile) -> ETag<'static> {
34
ETag::new_strong(URL_SAFE_NO_PAD.encode(asset.metadata.sha256_hash()))
35
}
36
37
-fn response_builder(asset: &EmbeddedFile, #[allow(unused)] cachable: bool) -> Builder<'static> {
+fn response_builder(asset: &EmbeddedFile, #[allow(unused)] cache_busting: bool) -> Builder<'static> {
38
let mut res = Response::build();
39
res.raw_header("ETag", gen_etag_header(asset));
40
#[cfg(not(debug_assertions))]
0 commit comments