def rv.head

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

import bend-kit-http@0.38.2.0/http.bend as Http
import Base

1427def rv.head(hs: Hs) -> Rt:
1428  match hs:
1429    case HsWait{buf, k}:
1430      RtMore{RvHead{buf, k}}
1431    case HsBad{}:
1432      RtBad{}
1433    case HsSeek{buf, from, k}:
1434      RtBad{}
1435    case HsRes{res, +rb, rest}:
1436      rv.body(rb.buf(rb), res, rb, rest)

Uses (5)

Used by (1)