Conversation
|
We don't want any API changes. Sorry! |
|
Hey Jonathanong, I really don't see where it change the API... |
|
I am in favor of this change. The perf numbers seem to indicate it is worth it. What is the API change here? The return value of the parse method? |
|
Nested support. I'm in favor as well but I don't want anyone to complain that there's no more nested support. No one will notice the speed difference. |
|
fair enough |
|
Has anyone made nested queries an issue on the node repo? I couldn't find one. Perhaps we should try to pull support for nesting into node? |
|
According to the as qs it was removed from node. I don't think it belongs there either. So many security holes you have to worry about. |
|
Yea, it breaks the niceness of always knowing a value for a key is a string. Plus I don't think it's actually some kind of RFC. |
|
those numbers don't mean anything without the # of ops, looks like a micro optimization at best |
|
If I send a request with 1mb of data like that: "firstname=cydgy&lastname=cydgy", your qs module will parse all data. Supporting "maxKeys" is a good security for me. What do you think? |
|
you could also just set a lower request size limit |
|
@CydGy by the time the data is handed over to |
|
Sure, but if you're uploading big files and using But it was just an idea for improvment, I agree that there is not real demonstrations. |
|
This module does not actually parse multipart bodies, which is what file uploads would use, so I'm not sure how the limit for this would affect file uploads, as the limits would be different, or are you stuffing a file base64-encoded into a urlencoded body? Can you should your use-case where specifying a |
|
Oups, that's true, sorry, for uploading files, you don't use this module. So yes, just set a lower request size limit. |
The native querystring module is fatest than qs module.
See querystring vs qs.
Hope it help.