diff options
| author | Fuwn <[email protected]> | 2024-06-24 10:34:12 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-06-24 10:34:12 +0000 |
| commit | 8f8176f2a5f09dbe930a30272370936a87e03740 (patch) | |
| tree | 406612484adcc91e50c2b18e603634e1d0e0cfe2 /src/response.rs | |
| parent | chore(examples): update rossweisse example (diff) | |
| download | windmark-0.3.10.tar.xz windmark-0.3.10.zip | |
feat(router): setters for direct key and certificate contentv0.3.10
Diffstat (limited to 'src/response.rs')
| -rw-r--r-- | src/response.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/response.rs b/src/response.rs index 797ce2a..853bfec 100644 --- a/src/response.rs +++ b/src/response.rs @@ -97,7 +97,7 @@ impl Response { #[must_use] pub fn binary_success_auto(content: &[u8]) -> Self { Self::new(22, String::from_utf8_lossy(content)) - .with_mime(&tree_magic::from_u8(content)) + .with_mime(tree_magic::from_u8(content)) .clone() } |