pub fn validate_final_protocol_version(
header_version: Option<&str>,
body_version: Option<&str>,
) -> Result<FinalProtocolVersion, ProtocolVersionError>Expand description
Validates the final HTTP header/body protocol-version mirror.
This deliberately performs no legacy fallback. A missing or empty header, a missing or empty body value, and different values all use the final header-mismatch classification. Matching non-final values are classified as unsupported and retain the requested value for the caller’s typed error data.