Redirect.redirect.target.of: def of emerging-ezhttp@0.21.0.0 Import: import emerging-ezhttp@0.21.0.0/src/redirect.bend as Redirect Lines 256-263 of emerging-ezhttp@0.21.0.0/src/redirect.bend: https://jend.leeeet.dev/read.txt?path=emerging-ezhttp@0.21.0.0/src/redirect.bend&start_line=256&end_line=263 import Base import emerging-ezhttp@0.21.0.0/src/url.bend as Url # a Location once it is known whether it is an absolute URL def redirect.target.of(url: String, +loc: String, absolute: Bool) -> Maybe<&2, String>: match absolute: case True{}: Some{loc} case False{}: redirect.at(Url.parse(url), loc) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/redirect.bend&name=redirect.at https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/url.bend&name=parse