def matches(cls, header):
        """Check if header scheme matches auth implementation."""
        scheme, _, _ = header.partition(' ')
        return scheme.lower() == cls.scheme
Check if header scheme matches auth implementation.
cherrypy/lib/auth_digest.py