media type check
Merge pull request #1 from xmaks/master

add Content-Type validation