diff --git a/src/client/response/header.rs b/src/client/response/header.rs index 1b73346..a415d80 100644 --- a/src/client/response/header.rs +++ b/src/client/response/header.rs @@ -66,6 +66,7 @@ impl Header { match reason { status::Error::Decode => Error::StatusDecode, status::Error::Undefined => Error::StatusUndefined, + status::Error::Protocol => Error::StatusProtocol, }, None, )), diff --git a/src/client/response/header/error.rs b/src/client/response/header/error.rs index e8176bd..17ff132 100644 --- a/src/client/response/header/error.rs +++ b/src/client/response/header/error.rs @@ -4,5 +4,6 @@ pub enum Error { InputStream, Protocol, StatusDecode, + StatusProtocol, StatusUndefined, }