def cookie.nv
import bend-kit-http@0.38.2.0/http.bend as Httpimport Base
2263# §5.6: with no "=", the name is empty and the pair is the value.
2264def cookie.nv(r: String & String & Bool) -> String & String:
2265 (a, b, found) = r
2266 match found:
2267 case True{}:
2268 (trim(a), trim(b))
2269 case False{}:
2270 ("", trim(a))