def up.url
bend-kit-http@0.38.2.0 · http.bend:5451
import bend-kit-http@0.38.2.0/http.bend as Http
import Base
import bend-kit-url@0.4.1.0/url.bend as Url
5451def up.url(+method: String, +ms: U32, headers: Map<&2, List<&2, String>>,
5452 u: Maybe<&2, Url.Abs>, cert: Maybe<&2, Cert>, +ca: String) ->
5453 IO(Result<&1, &1, Err, Up>):
5454 match u:
5455 case None{}:
5456 IO.pure(Result<&1, &1, Err, Up>, Fail{ErrUrl{}})
5457 case Some{+a}:
5458 up.origin(method, ms, headers, Url.host_field(a), a, pool.scheme.ok(a), cert, ca)