def Query.go.put
import bend-kube-runtime@0.2.0.0/src/core.bend as Coreimport Base
import bend-kube-runtime@0.2.0.0/src/http.bend as H
116def Query.go.put(k: String, v: String, rest: List<&2, String>, empty: Bool) -> List<&2, String>:
117 match empty:
118 case True{}:
119 rest
120 case False{}:
121 (H.Http.encode(k) ++ "=" ++ H.Http.encode(v)) <> rest