code: def xml_result(xml: str,
                 extraheaders: TYPE_WSGI_RESPONSE_HEADERS = None) \
          -> WSGI_TUPLE_TYPE:
      
      extraheaders = extraheaders or []
      return 'text/xml; charset=utf-8', extraheaders, xml.encode("utf-8")
docs: Returns ``(contenttype, extraheaders, data)`` tuple for UTF-8 XML.