xdmp.setResponseContentType( name as String ) as null
Sets the response content-type.
xdmp.setResponseContentType("text/html");