Compatibility with older versions of "requests"