pub fn content_type(format: Option<&CadFormat>, client: &str) -> String
Content type to store for an upload: the registered type of the format, otherwise the (cleaned) type the client sent.