

def digestAuth(realm, algorithm=MD5, nonce=None, qop=AUTH):
    'Challenges the client for a Digest authentication.'
    global SUPPORTED_ALGORITHM, DIGEST_AUTH_ENCODERS, SUPPORTED_QOP
    assert (algorithm in SUPPORTED_ALGORITHM)
    assert (qop in SUPPORTED_QOP)
    if (nonce is None):
        nonce = calculateNonce(realm, realm)
    return ('Digest realm="%s", nonce="%s", algorithm="%s", qop="%s"' % (realm, nonce, algorithm, qop))

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/cherrypy/cherrypy/lib/httpauth.py digestAuth/VarMisuse@60/102 `algorithm`->`realm`