versions of requests prior to this throw an error.