aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/https.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/https.rs b/src/https.rs
index 148f15a..99900d0 100644
--- a/src/https.rs
+++ b/src/https.rs
@@ -219,7 +219,11 @@ fn try_compress(
Some((mime_type, _params)) => mime_type,
None => ct_str,
};
- if !https_config.compress_mime_types.iter().any(|x| x == mime_type) {
+ if !https_config
+ .compress_mime_types
+ .iter()
+ .any(|x| x == mime_type)
+ {
return Ok(response);
}
}