import time def main(request, response): response.add_required_headers = False # Don't implicitly add HTTP headers response.writer.write_status(200) response.writer.write_header("Content-Type", "text/html") response.writer.end_headers() for b in b'\n

Normal XML declation as slow byte-by-byte trickle

\n

Test: \xE6

\n

If ж, XML decl takes effect

')