Bugfix to response content type checks.