fix bug: invalid media type return 415.
Merge pull request #247 from forumbyr/master

fix bug: invalid media type return 415.