def with_q
import bend-net-url@0.4.0.0/url.bend as Urlimport Base
450def with_q(path: String, q: String, has_q: Bool) -> String:
451 match has_q:
452 case True{}:
453 path ++ "?" ++ q
454 case False{}:
455 path
import bend-net-url@0.4.0.0/url.bend as Urlimport Base
450def with_q(path: String, q: String, has_q: Bool) -> String:
451 match has_q:
452 case True{}:
453 path ++ "?" ++ q
454 case False{}:
455 path