

def _checkBasicResponse(auth_map, password, method='GET', encrypt=None, **kwargs):
    try:
        return (encrypt(auth_map['password'], auth_map['username']) == password)
    except TypeError:
        return (encrypt(auth_map['password']) == password)

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/cherrypy/cherrypy/lib/httpauth.py _checkBasicResponse/original