def auth.host

emerging-ezhttp@0.21.0.0 · src/url.bend:74

import emerging-ezhttp@0.21.0.0/src/url.bend as Url
import Base

74# userinfo is stripped: `user:pass@host` yields `host` (RFC 3986 §3.2.1)
75def auth.host(authority: String) -> String:
76  auth.last(String.split(authority, '@'))

Uses (4)

Used by (1)