expand_utf8
Description:
[ Version ( since = "0.3" ) ]
public bool expand_utf8 (string body, Cancellable? cancellable = null) throws IOError
public bool expand_utf8 (string body, Cancellable? cancellable = null) throws IOError
Expand a UTF-8 string into the response body.
If not set already, the 'charset' parameter of the 'Content-Type' header will be set to 'UTF-8'. The media type will default to 'application/octet-stream' if not set already. Use VSGI.Response.expand to write data with arbitrairy charset.