adding status code to restful.Response