def proxy.from.parts
import bend-kit-http@0.38.2.0/http.bend as Httpimport Base
import bend-kit-url@0.4.1.0/url.bend as Url
3002def proxy.from.parts(parts: String & String) -> Maybe<&2, Proxy>:
3003 (+authority, path) = parts
3004 match path:
3005 case SNil{}:
3006 proxy.from.authority(Url.has(authority, 64), authority, Url.take_to(authority, 64))
3007 case other:
3008 None{}