def query.text
import ezhttp@0.22.0.0/src/url.bend as Urlimport Base
98# the query after the first `?`, with later `?` kept (RFC 3986 §3.4)
99def query.text(ps: List<&2, String>) -> String:
100 match ps:
101 case []:
102 ""
103 case _ <> rest:
104 String.join(rest, "?")