Fixed for older versions of requests
Merge pull request #136 from BiohZn/master

Fixed for older versions of requests