pub fn content_type_can_be_executable(type_: &str) -> bool
Expand description
Checks if a content type can be executable. Note that for instance
things like text files can be executables (i.e. scripts and batch files).
§type_
a content type string
§Returns
true
if the file type corresponds to a type that
can be executable, false
otherwise.