Fix mime type variable as reference.
Merge pull request #2 from jjc88/hotfix-1

Fix mime type variable as reference.