def pool.scheme.ok

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

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

3865def pool.scheme.ok(a: Url.Abs) -> Bool:
3866  Url.Abs{+scheme, host, port, target} = a
3867  Bool.or(String.eq(scheme, "http"), String.eq(scheme, "https"))

Uses (4)

Used by (3)