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