Removes getallheaders() and  dumps