-
Notifications
You must be signed in to change notification settings - Fork 16
Description
There are multiple issuess with current Query
representation:
-
fullPath
- doesn't return original value of uri. We are not able to call it "equivalent" from my perspecitve, -
We are trying to start using HTTPure not only for API based endpoints and we want to be able to receive data from standard
HTML
forms.HTML
allows you to send multiple values for single querykey
(like with<select multiple name="key">
) and it is quite common to build group of checkboxes with the same key too as multichoice widget.
I have two propositions assuming that we don't want to support empty values (like key1&key2
):
-
type Query = Array (Tuple String String)
with additional helper which converts this toMap
-
type Query = Map String (Array String)
We are ready to work on this and provide a PR.