def upload.how

bend-kit-http@0.38.2.0 · http.bend:5460

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

5460# cert and ca as in open.how. A streamed body cannot be replayed, so redirects are not followed.
5461def upload.how(cert: Maybe<&2, Cert>, +ca: String, +method: String, url: String,
5462    headers: Map<&2, List<&2, String>>, +ms: U32) -> IO(Result<&1, &1, Err, Up>):
5463  up.url(method, ms, headers, Url.absolute(url), cert, ca)

Uses (12)

Used by (1)