It would seem that in http.js there is a method still to do this
`_parseQueryString`. Would it be possible to have this moved somewhere
that is accessible as an API so that it can be used to handle POST
data also? or is it worth me extracting this method and including it
myself in projects?
If I am missing the 'proper' way to parse post data, or a reason why
using the same query string parser is a bad idea please let me know.
Edd
--fg
2009/12/27 Felix Geisendörfer <fe...@debuggable.com>:
> --
>
> You received this message because you are subscribed to the Google Groups "nodejs" group.
> To post to this group, send email to nod...@googlegroups.com.
> To unsubscribe from this group, send email to nodejs+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/nodejs?hl=en.
>
>
>
Thanks for pointing this out. Should be simple to build async support
into this.
-- Felix
On Dec 27, 7:05 pm, Connor Dunn <conno...@gmail.com> wrote:
> The majority of the work for this seems to have been done alreadyhttp://github.com/jazzychad/querystring.node.js
2009/12/27 Daniel N <has...@gmail.com>:
Yip, I'm thinking about parsing form data as it comes in from a HTTP
request. Just like the multipart module does it currently.
There would still be a sync / 1-line call if you already have all the
data, but in addition to that you could go the more fine-grained
callback route.
--fg
On Dec 28, 12:19 am, Connor Dunn <conno...@gmail.com> wrote:
> Only reason I can this is the query string could be received in
> multiple chunks, so you may wish to parse it as it arrives and get
> callbacks for partial parsing?
>
> 2009/12/27 Daniel N <has....@gmail.com>: