def took
import ezmcp@0.1.0.0/src/client.bend as Clientimport Base
import ezmcp@0.1.0.0/src/rpc.bend as Rpc
65# what an HTTP reply to a request says: a 200 is read as JSON or as an event
66# stream by its Content-Type; any other status is unread
67def took(+status: U32, ctype: String, text: String) -> Rpc.Reply:
68 took.ok(ctype, text, U32.is_eq(status, 200), status)