xdmp:set-response-content-type( $name as xs:string ) as empty-sequence()
Sets the response content-type.
xdmp:set-response-content-type("text/html")