replace mimetype with content_type
fix
Merge pull request #1 from jarvys/master

mimetype