HTTParrot v0.4.1 HTTParrot.GeneralRequestInfo
Summary
Functions
Group by keys and if duplicated keys, aggregate them as a list
Functions
Specs
group_by_keys(list) :: map
Group by keys and if duplicated keys, aggregate them as a list
iex> group_by_keys([a: "v1", a: "v2", b: "v3", a: "v4"]) %{a: ["v1", "v2", "v4"], b: “v3”}