-
Notifications
You must be signed in to change notification settings - Fork 71
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
Parameters with the same key #15
Comments
If you could submit the patch, I'd be happy to merge it. Could you also provide a test case? |
@nderkach With HTTP, wouldn't the proper way to handle that would be to specify that the
Otherwise I'm not sure webservers would be able to handle that parameter. Is this what you are talking about? |
@thibaultcha @nderkach Sometimes the |
I am using this workaround, which is also valid URL syntax for ordered arrays:
and works with the It's weird that this library does not support array parameters. |
Currently, as we store parameters in a dictionary there is now way to provide parameters with the same name, i.e.
&bucket=id:seatgeek&bucket=id:songkick
Then, the questions is how to specify such case within constrains of a dictionary. You could do it via an array as a value:
@"bucket": @[@"id:seatgeek", @"id:songkick"]
I don't have a better idea for now. I have a patch available with this implementation if you are ok with it.
The text was updated successfully, but these errors were encountered: