Fixes bug with mimeType
Merge pull request #8 from kitan1982/master

Fixes bug with mimeType