Provide MIME type data for File in formdata::get_file

This commit is contained in:
Keith Yeung 2017-04-09 17:34:16 -07:00
parent d77d752990
commit b5722e50bb
4 changed files with 3 additions and 6 deletions

View file

@ -164,7 +164,7 @@ impl Blob {
}
/// Get a copy of the type_string
pub fn get_type_string(&self) -> String {
pub fn type_string(&self) -> String {
self.type_string.clone()
}