def sh.of
import bend-kit-http@0.38.2.0/http.bend as Httpimport Base
4889def sh.of(hs: Hs) -> Sh:
4890 match hs:
4891 case HsWait{buf, k}:
4892 ShMore{buf, k}
4893 case HsBad{}:
4894 ShBad{None{}, False{}}
4895 case HsSeek{buf, from, k}:
4896 ShBad{None{}, False{}}
4897 case HsRes{res, rb, rest}:
4898 ShRes{res, rb, rest}