def upload.how
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
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)