kennethreitz/requests — pull request #677 by sigmavirus24 (2012-06-15 14:03:36+00:00)
Title: Simplify Request()._encode_data()

The logic is the same. The only time we don't want to return 'data' is when it
isn't a file and can be iterated over.