working around multiple versions of requests