def redirect.sort.of
import emerging-ezhttp@0.21.0.0/src/redirect.bend as Redirectimport Base
215# the sort, from what the Location starts with
216def redirect.sort.of(net: Bool, abs: Bool, stay: Bool, query: Bool) -> Sort:
217 match net:
218 case True{}:
219 Net{}
220 case False{}:
221 redirect.sort.abs(abs, stay, query)