def redirect.plan

emerging-ezhttp@0.21.0.0 · src/redirect.bend:295

import emerging-ezhttp@0.21.0.0/src/redirect.bend as Redirect
import Base
import emerging-ezhttp@0.21.0.0/src/http.bend as Http

295# the next hop after a response's status and headers
296def redirect.plan(left: Nat, url: String, +status: U32,
297  headers: List<&2, Http.Header>) -> Hop:
298  redirect.next(left, url, status, Http.headers.find(headers, "location"))

Uses (8)

Used by (1)