code: def read(self):
          
          if 'r' == self._mode:
              return self._read_response.text
          elif 'rb' == self._mode:
              return self._read_response.content
          else:
              raise IOError("File not opened in read mode.")
docs: read the contents of the file that's been opened in read mode