Http.proxy.from.authority: def of bend-kit-http@0.38.2.0 Import: import bend-kit-http@0.38.2.0/http.bend as Http Lines 2993-3000 of bend-kit-http@0.38.2.0/http.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-http@0.38.2.0/http.bend&start_line=2993&end_line=3000 import Base import bend-kit-url@0.4.1.0/url.bend as Url def proxy.from.authority(has_user: Bool, authority: String, split: String & String) -> Maybe<&2, Proxy>: match has_user: case False{}: proxy.from.abs("", Url.absolute("http://" ++ authority)) case True{}: (user, host) = split proxy.from.user(user, host) Uses (10): 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=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.2.0/http.bend&name=Proxy https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.2.0/http.bend&name=proxy.from.abs https://jend.leeeet.dev/definition.txt?path=bend-kit-http@0.38.2.0/http.bend&name=proxy.from.user https://jend.leeeet.dev/definition.txt?path=bend-kit-url@0.4.1.0/url.bend&name=absolute