def _body_callback(self, buf):
        if self._logfile is not None:
            self._logfile.write(buf)
        if self._downloadfile is not None:
            self._downloadfile.write(buf)
        else:
            self._contents.append(buf)
dataset/ETHPy150Open kdart/pycopia/WWW/pycopia/WWW/client.py/HTTPResponse._body_callback/original