fix bug:media type support multi;update exception handler for invalid
media type
Merge pull request #360 from forumbyr/master

fix bug:media type support multi;update exception handler for invalid