Function pact_models::content_types::detect_content_type_from_bytes
source · pub fn detect_content_type_from_bytes(s: &[u8]) -> Option<ContentType>
Expand description
Try detect the content type from a sequence bytes