Indexes the given sequence of key/value pairs using an empty hash-map.
Indexes the given sequence of key/value pairs using an empty hash-map. The key/value pair type constructor must support fold-left and the index is created in constant space.
Indexes the given sequence of key/value pairs using the given map.
Indexes the given sequence of key/value pairs using the given map. The key/value pair type constructor must support fold-left and the index is created in constant space.
Encodes the given parameters by inserting an ampersand (&
) between each pair and an equals sign
(=
) with each pair.
Encodes the given parameters by inserting an ampersand (&
) between each pair and an equals sign
(=
) with each pair.
Returns a map of key/value pairs where only the first value for the given key is available.
Splits the given argument by ampersand (&
) then each list again by the equals sign (=
).
Splits the given argument by ampersand (&
) then each list again by the equals sign (=
).
e.g. parameters("a=b&c=d&e=f") == [("a", "b"), ("c", "d"), ("e", "f")]
Utility functions not specific to any particular context within HTTP.