update request such that getallheaders is not called on the command line