private static void EvaluateResponse(Response response, HttpResponseBase httpResponse)
 {
     response.MatchAction(
         content: x => httpResponse.Raw(x.Content, x.ContentType),
         xdoc: x => httpResponse.XDocument(x.Content, x.ContentType),
         redirect: x => httpResponse.Redirect(x.Location));
 }