View Source HTTParrot.GeneralRequestInfo (HTTParrot v1.4.0)
Summary
Functions
Group by keys and if duplicated keys, aggregate them as a list
Functions
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"}