pub fn extract_request_content_type<B>(
request: &Request<B>,
) -> Result<Option<Mime>, Error>Expand description
Extract and parse Content-Type from a complete request.
This reads request.headers() and delegates to
extract_header_content_type, preserving its missing, duplicate,
encoding, and media-type validation behavior.