def redirect
import bend-kit-hairpin@0.13.0.1/hairpin.bend as Hairpinimport Base
import bend-kit-http@0.38.1.1/http.bend as Http
49def redirect(c: Client, mode: Http.Mode) -> Client:
50 Client{Opts{b, h, ms, old, p, cert, ca}, pool, j, br} = c
51 Client{Opts{b, h, ms, mode, p, cert, ca}, pool, j, br}