def redirect.plan
import emerging-ezhttp@0.21.0.0/src/redirect.bend as Redirectimport 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"))