def __iter__(self):
        """
        in 'r' mode, iterates the lines of the response text in unicode -
        in 'rb' mode, iterates the bytes of the binary response.
        """
        if 'r' == self._mode:
            return self._read_response.iter_lines(
                decode_unicode=self._decode_unicode)
        elif 'rb' == self._mode:
            return self._read_response.iter_content(
                chunk_size=self._chunk_size)
        else:
            raise IOError("File not opened in read mode.")
def __iter__ ( self ) : if 'r' == self . _mode : return self . _read_response . iter_lines ( decode_unicode = self . _decode_unicode ) elif 'rb' == self . _mode : return self . _read_response . iter_content ( chunk_size = self . _chunk_size ) else : raise IOError ( "File not opened in read mode." )
in 'r' mode, iterates the lines of the response text in unicode -
        in 'rb' mode, iterates the bytes of the binary response.