@property
    def content(self):
        if self.status_code == NO_CONTENT:
            return None
        elif self.__consumed and self.cache:
            if isinstance(self.__cached, bytearray):
                self.__cached = bytes(self.__cached)
            return self.__cached
        else:
            return self.read()
Fetch and return all content.
dataset/ETHPy150Open nigelsmall/httpstream/httpstream/http.py/Response.content