make sure the response is always set in the HttpException when we have it