code: def write(self, chunk):
          
          if self.chunked_write and chunk:
              chunk_size_hex = hex(len(chunk))[2:].encode('ascii')
              buf = [chunk_size_hex, CRLF, chunk, CRLF]
              self.conn.wfile.write(EMPTY.join(buf))
          else:
              self.conn.wfile.write(chunk)
docs: Write unbuffered data to the client.