kennethreitz/requests — pull request #2072 by sigmavirus24 (2014-05-28 01:31:31+00:00)
Title: Check for basestring, not just str

Fixes #2071

This provides consistent behaviour across Python 2 & 3.