diff --git a/tower-http/src/compression/future.rs b/tower-http/src/compression/future.rs index 024991ff..c38ecb03 100644 --- a/tower-http/src/compression/future.rs +++ b/tower-http/src/compression/future.rs @@ -54,7 +54,7 @@ where } let body = match (should_compress, self.encoding) { - // if compression is _not_ support or the client doesn't accept it + // if compression is _not_ supported or the client doesn't accept it (false, _) | (_, Encoding::Identity) => { return Poll::Ready(Ok(Response::from_parts( parts,