Skip to main content

clean_content_type

Function clean_content_type 

Source
pub fn clean_content_type(raw: Option<&str>) -> String
Expand description

Normalises a client supplied content type; unknown values become application/octet-stream.