def redirect.absolute

emerging-ezhttp@0.21.0.0 · src/redirect.bend:33

import emerging-ezhttp@0.21.0.0/src/redirect.bend as Redirect
import Base

33# whether a Location is an absolute http or https URL
34def redirect.absolute(+loc: String) -> Bool:
35  Bool.or(String.starts_with(loc, "http://"),
36    String.starts_with(loc, "https://"))

Uses (4)

Used by (1)