check content type of response
Merge branch 'master' into 2.3