fn collapse_multi(map: &HashMap<String, Vec<String>>) -> ValueExpand description
Collapses a multi-valued header/query map into single strings where there
is one value and arrays where there are several — mirroring OpenResty’s
core.request.headers / get_uri_args shape.