def send(self, data):
    '\n        Send text to the client.\n        '
    assert isinstance(data, text_type)
    self.stdout.write(data.replace('\n', '\r\n'))
    self.stdout.flush()
Send text to the client.
def send(self, data):
    '\n        \n        '
    assert isinstance(data, text_type)
    self.stdout.write(data.replace('\n', '\r\n'))
    self.stdout.flush()