Set content type using the Response::type method