def response.text
import gralha-http-core@0.1.0.0/http.bend as Httpimport Base
383# The response as sent: its head, with a Content-Length counted in UTF-8
384# bytes after its own headers (unless it has one), then its body.
385def response.text(r: Response) -> String:
386 match r:
387 case Response{+s, h, +b}:
388 head(s, length.with(h, b)) ++ b