requests 1.x.x compatability