kennethreitz/requests — Issue #229: Does not appear to correctly process nested dictionaries in request.post
Author: devjones
Created: 2011-10-27 21:40:35+00:00
State: open

requests.post appear to incorrectly parse the following data structure:

data = {'message':{'first':123,'second':456}}
requests.post(url,data)

When the above is sent, the receiving server doesn't get the full data, but rather something like:
{'message':['first','second']}

When i perform the above experiment with urllib.urlencode, it behaves as expected.