def redirect.hop

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

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

1795def redirect.hop(status: U32, h: Hop, loc: String) -> Maybe<&1, Hop>:
1796  Hop{method, +url, headers, body} = h
1797  redirect.to(status, method, url, headers, body, Url.resolve(url, loc))

Uses (6)

Used by (1)