Proper test for str vs unicode when preparing data
Proper test for str vs unicode when preparing data

In python 2.x, requests sets str = unicode in requests/compat.py. This causes
isinstance(foo, str) to return True even if foo is a unicode string.

psf/requests,Bluehorn/requests,revolunet/requests,revolunet/requests