File-Handling: Mime Type Resolving
File Handling
Default Mime Type
For all file-handling methods, defaults mime type to application/octet-stream
if content-type isn't provided and cannot be determined from the file name (extension)
Download methods
The download
methods in file-handling try to resolve mime type based on content-type in headers if possible, else uses the default specified above