def is.sse
import ezmcp@0.1.0.0/src/client.bend as Clientimport Base
46# whether a Content-Type is an event stream
47def is.sse(+ctype: String) -> Bool:
48 String.starts_with(String.to_lower(String.trim(ctype)), "text/event-stream")
import ezmcp@0.1.0.0/src/client.bend as Clientimport Base
46# whether a Content-Type is an event stream
47def is.sse(+ctype: String) -> Bool:
48 String.starts_with(String.to_lower(String.trim(ctype)), "text/event-stream")