diff options
author | Juan Linietsky <reduzio@gmail.com> | 2018-04-07 17:07:29 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-07 17:07:29 -0300 |
commit | cd7e9d964281d700de691eb48eb4b597c8fd947a (patch) | |
tree | a21f197b45c6cc3cf222db16bb74e8535a750593 /doc | |
parent | 61d70fe47cfaa4efee505c7073aacfe34b66c217 (diff) | |
parent | 1fc85b87bd0542b82b1a8d51afdb3801d03d872b (diff) |
Merge pull request #17583 from RandomShaper/enhance-uri-utils
Enhance uri utils
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/HTTPClient.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/classes/HTTPClient.xml b/doc/classes/HTTPClient.xml index 5bd7c4cd3e..018b548ef1 100644 --- a/doc/classes/HTTPClient.xml +++ b/doc/classes/HTTPClient.xml @@ -111,6 +111,12 @@ String queryString = httpClient.query_string_from_dict(fields) returns:= "username=user&password=pass" [/codeblock] + Furthermore, if a key has a null value, only the key itself is added, without equal sign and value. If the value is an array, for each value in it a pair with the same key is added. + [codeblock] + var fields = {"single": 123, "not_valued": null, "multiple": [22, 33, 44]} + String queryString = httpClient.query_string_from_dict(fields) + returns:= "single=123&not_valued&multiple=22&multiple=33&multiple=44" + [/codeblock] </description> </method> <method name="read_response_body_chunk"> |