'Content of the response, in unicode.
if Response.encoding is None and chardet module is available, encoding
will be guessed.'

@property
def text(self):

    if (hasattr(self, '_text') and self._text):
        return self._text
    if (not self.content):
        return u''
    if isinstance(self.content, six.text_type):
        return self.content
    content = None
    encoding = self.encoding
    try:
        content = self.content.decode(encoding, 'replace')
    except LookupError:
        content = self.content.decode('utf-8', 'replace')
    self._text = content
    return content
