diff options
Diffstat (limited to 'src')
| -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 8e3fa87..9aee2d3 100644 --- a/src/response.rs +++ b/src/response.rs @@ -103,7 +103,7 @@ impl Response { pub fn binary_success_auto(content: &[u8]) -> Self { let mut response = Self::new(22, String::from_utf8_lossy(content)); - response.with_mime(tree_magic::from_u8(content)); + response.with_mime(tree_magic_mini::from_u8(content)); response } |