Using HttpResponse object