Respect mediaType before validating response