def Http.keep
import bend-kube-runtime@0.2.0.0/src/http.bend as Httpimport Base
106def Http.keep(c: Char) -> Bool:
107 match c:
108 case '-':
109 True{}
110 case '_':
111 True{}
112 case '.':
113 True{}
114 case '~':
115 True{}
116 case Chr{+x}:
117 Bool.or(Char.is_alpha(Chr{x}), Char.is_digit(Chr{x}))