When no content-type passed by file in upload, try to find the files content type before assigning 'application/octet-stream'
When a file is uploaded via the api with no options and the file doesn't have a content-type, the server should try to get the content-type from the file before assigning application/octet-stream.
This issue has occurred when uploading a .png file using curl and the content-type of the uploaded file object was null.
Deleting a branch is permanent. It CANNOT be undone. Continue?