@property
    def content_type(self):
        """ The type of content as provided by the `Content-Type` header field.
        """
        try:
            content_type = [
                _.strip()
                for _ in self.__response.getheader("Content-Type").split(";")
            ]
        except __HOLE__:
            return None
        return content_type[0]
dataset/ETHPy150Open nigelsmall/httpstream/httpstream/http.py/Response.content_type