cargo fmt
This commit is contained in:
parent
87a88931b6
commit
3f2a52dc8e
1 changed files with 5 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue