Skip to main content

validate

Function validate 

Source
pub fn validate(data: &[u8]) -> AppResult<&'static str>
Expand description

Checks an upload and returns its content type.