def redirect.absolute
import emerging-ezhttp@0.21.0.0/src/redirect.bend as Redirectimport 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://"))