def proxy.auth.safe

bend-kit-http@0.38.2.0 · http.bend:2960

import bend-kit-http@0.38.2.0/http.bend as Http
import Base

2960def proxy.auth.safe(s: String) -> Bool:
2961  match s:
2962    case SNil{}:
2963      True{}
2964    case SCon{Chr{+c}, rest}:
2965      Bool.and(U32.is_ge(c, 32), Bool.and(U32.is_ne(c, 127), proxy.auth.safe(rest)))

Uses (6)

Used by (1)