diff --git a/src/proto/h1/role.rs b/src/proto/h1/role.rs index ed1762bd45..56826c8fea 100644 --- a/src/proto/h1/role.rs +++ b/src/proto/h1/role.rs @@ -214,6 +214,7 @@ impl Server<()> { match head.subject { // TODO: support for 1xx codes needs improvement everywhere // would be 100...199 => false + StatusCode::SwitchingProtocols | StatusCode::NoContent | StatusCode::NotModified => false, _ => true,