private static void ThrowUnexpectedHttpResponse(HttpResponse response)
{
OurTrace.TraceVerbose("Throwing UnhandledHttpException: " + response.StatusCode + ", with content: " + response.Content);
throw new UnhandledHttpException(
string.Format("Unexpected Http Response! HttpStatusCode = {0}, Response = {1}",
response.StatusCode,
response.Content));
}