'Write unbuffered data to the client.'

def write(self, chunk):

    if (self.chunked_write and chunk):
        buf = [bytes(hex(len(chunk)), 'ASCII')[2:], CRLF, chunk, CRLF]
        self.conn.wfile.write(EMPTY.join(buf))
    else:
        self.conn.wfile.write(chunk)
