(self, content_type, content_encoding=None)
return self.from_mimetype(mimetype)
Return the most appropriate Response class from an HTTP Content-Type
        header
Return the most appropriate Response class from an HTTP Content-Type
        header
Return the most appropriate Response class from an HTTP Content - Type header
def from_content_type(self, content_type, content_encoding=None):
        """Return the most appropriate Response class from an HTTP Content-Type
        header """
        if content_encoding:
            return Response
        mimetype = to_unicode(content_type).split(';')[0].strip().lower()
        return self.from_mimetype(mimetype)
def from_content_type ( self , content_type , content_encoding = None ) : if content_encoding : return Response mimetype = to_unicode ( content_type ) . split ( ';' ) [ 0 ] . strip ( ) . lower ( ) return self . from_mimetype ( mimetype )