@property
    def encoding(self):
        """ The content character set encoding.
        """
        try:
            content_type = dict(
                _.strip().partition("=")[0::2]
                for _ in self.__response.getheader("Content-Type").split(";")
            )
        except __HOLE__:
            return default_encoding
        return content_type.get("charset", default_encoding)
dataset/ETHPy150Open nigelsmall/httpstream/httpstream/http.py/Response.encoding