def resolve.show
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
4442# Base URLs: resolve(base, ref) is ref against the absolute http(s) URL base (RFC 3986 §5.2),
4443# written back as a URL for fetch. None when base is not absolute or ref has another scheme.
4444def resolve.show(a: Url.Abs) -> String:
4445 Url.Abs{+scheme, host, port, +target} = a
4446 scheme ++ "://" ++ Url.host_field(Url.Abs{scheme, host, port, target}) ++ target