added status code to HttpResponse