Set content type in Error.