mikeal/request — Issue #103: querystring nested problem
Author: alessioalex
Created: 2011-11-13 14:25:37+00:00
State: open

If I send a nested object for the `form` param:

>form: { user: { user:'avsstu', password:'ricardoo' } }

querystring will stringify it like: 'user='

However if the object is not nested it will stringify it properly:

> form: { user: user:'avsstu', password:'ricardoo' }

it works ok, returns: 'user=avsstu&password=ricardoo'

I know you don't want dependencies, but I don't consider the 'querystring' module to behave correctly like so. I suggest we use https://github.com/visionmedia/node-querystring for this.