pub(super) async fn protocol_version_middleware(
strict: bool,
req: Request<Body>,
next: Next,
) -> Result<Response, StatusCode>Expand description
Forward-compat: missing header accepted; mismatched major -> 426. Strict mode rejects missing.