def jar.store

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

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

2396# The jar after res came from url, and res as it was. Header names are lowercase, as parse gives them.
2397# An unparsable url stores nothing.
2398def jar.store(j: Jar, url: String, res: Res) -> Jar & Res:
2399  Res{status, +headers, body} = res
2400  (jar.store.url(j, Url.absolute(url), headers), Res{status, headers, body})

Uses (7)

Used by (0)

No other definition uses this definition.