Function script::dom::blob::normalize_type_string
source ยท pub fn normalize_type_string(s: &str) -> String
Expand description
Get the normalized, MIME-parsable type string https://w3c.github.io/FileAPI/#dfn-type XXX: We will relax the restriction here, since the spec has some problem over this part. see https://github.com/w3c/FileAPI/issues/43