Fix the bug of form upload with mime type set but not work.
Merge pull request #82 from jemygraw/master

Fix the bug of form upload with mime type set but not work.