Fixed exception thrown when there was not mimetype present
Merge pull request #109 from Alotor/develop

Fixed exception thrown when there was not mimetype present