forked from dakrone/clj-http
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support three different multi-param syntaxes
When params have multiple values, you can now choose the style used to build a param string. There are three styles available: by default, a repeating param: :a [1 2 3] => "a=1&a=2&a=3" with :multi-param-style :array, a repeating param with array suffix (PHP-style): :a [1 2 3] => "a[]=1&a[]=2&a[]=3" with :multi-param-style :indexed, a repeating param with array suffix and index (Rails-style): :a [1 2 3] => "a[0]=1&a[1]=2&a[2]=3"
- Loading branch information
1 parent
a62da5b
commit cddeb3e
Showing
3 changed files
with
62 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters