def redirect.stays

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

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

185# a Location the client does not follow: empty, a fragment, another scheme
186def redirect.stays(+loc: String) -> Bool:
187  Bool.or(String.is_empty(loc), Bool.or(String.starts_with(loc, "#"),
188    redirect.schemed(loc)))

Uses (6)

Used by (1)