def encode_req.word
import bend-kit-http@0.38.2.0/http.bend as Httpimport Base
1735# Caller headers are lowercased so they cannot duplicate ours; host, connection,
1736# content-length and transfer-encoding are always ours (no smuggling through them).
1737def encode_req.word(close: Bool) -> String:
1738 match close:
1739 case True{}:
1740 "close"
1741 case False{}:
1742 "keep-alive"