type Sh
import bend-kit-http@0.38.2.0/http.bend as Httpimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
4882# Head read state: still scanning, cut short or bad, or the head with the bytes after it.
4883# none: no response byte arrived, so a reused socket may be stale.
4884type Sh is Type:
4885 ShMore{buf: Bytes.Bytes, k: U32}
4886 ShBad{err: Maybe<&2, Err>, none: Bool}
4887 ShRes{res: Res, rb: Rb, rest: Bytes.Bytes}