Use BytesIO for bytes.
authorJakub Roztocil <jakub@roztocil.name>
Mon, 30 Jul 2012 08:35:47 +0000 (10:35 +0200)
committerJakub Roztocil <jakub@roztocil.name>
Fri, 10 Aug 2012 17:49:03 +0000 (19:49 +0200)
commitdee3693ea004e2f859e4fba4cfedb376e4d0bb2b
tree1d67f0ba4cb0effea408df6d36da30b7a0c14d9d
parentcfa627ae62cebff20edf0816ce327c61603ef6a8
Use BytesIO for bytes.

This fixes a TypeError on Python 3 that ocurred when passing
bytes as the values for files.
requests/models.py
tests/test_requests.py