def digestAuth (realm, algorithm = MD5, nonce = None, qop = AUTH):
    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, algorithm)

    return 'Digest realm="%s", nonce="%s", algorithm="%s", qop="%s"' % (
        realm, nonce, algorithm, qop
    )
Calls :py:meth:`~.Form.fill_out` and then :py:meth:`.submit`.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/cherrypy/cherrypy/lib/httpauth.py/digestAuth--crossover with--dataset/ETHPy150Open horejsek/python-webdriverwrapper/webdriverwrapper/forms.py/Form.fill_out_and_submit