'Write unbuffered data to the client.'

def write(self, chunk):

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