def send_xml(self, text, code=<NUM_LIT:200>):
self.send_response(code)<EOL>if text:<EOL><INDENT>self.send_header('<STR_LIT>', '<STR_LIT>' %UNICODE_ENCODING)<EOL>self.send_header('<STR_LIT>', str(len(text)))<EOL><DEDENT>self.end_headers()<EOL>if text:<EOL><INDENT>self.wfile.write(text)<EOL><DEDENT>self.wfile.flush()<EOL>
Send some XML.