Should throw exception if content type is not set.