-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parse queries to a map of String
to String
using '&'
and '='
#30
Comments
It's a reasonable suggestion. Let me ponder it. A consequence of the fact that those symbols are not part of the spec is that, actually, there are a few different possible interpretations of the query string. For example, you suggest using a Let's leave this open to allow a discussion about it, in case a consensus emerges. |
Great points. The thing to do (if you decide it's worth it) would probably be to make it a |
I've been working on adjustments that do this... for my own specific uses... it keeps the query as two possible states, and parses them into one of those depending on the When it pretty-prints, it joins them back according to the scheme... mind you, this doesn't allow for multiple separator types independent of the scheme — I hadn't really thought about that. (ie maybe using So we have:
|
This would be a really useful utility function to have, though since I don't think
&
and=
are actually part of the official URI specification I understand if you want to leave it out.The text was updated successfully, but these errors were encountered: