The HttpResponse class was actually HttpReponseCode class.