code: def text(self):
          
          if not self.content:
              return
  
          if self.encoding:
              return self.content.decode(self.encoding, errors='replace')
  
          return self.content.decode(self.guess_encoding(), errors='replace')
docs: Content as string
  
          If :attr:`encoding` is None, the encoding is guessed with :meth:`guess_encoding`