(realm)
return digestAuth(realm) + " " + basicAuth(realm)
doAuth' function returns the challenge string b giving priority over
    Digest and fallback to Basic authentication when the browser doesn't
    support the first one.

    This should be set in the HTTP header under the key 'WWW-Authenticate'.
doAuth' function returns the challenge string b giving priority over
    Digest and fallback to Basic authentication when the browser doesn't
    support the first one.
doAuth function returns the challenge string b giving priority over Digest and fallback to Basic authentication when the browser doesn t support the first one .
def doAuth(realm):
    """'doAuth' function returns the challenge string b giving priority over
    Digest and fallback to Basic authentication when the browser doesn't
    support the first one.

    This should be set in the HTTP header under the key 'WWW-Authenticate'."""

    return digestAuth(realm) + " " + basicAuth(realm)
def doAuth ( realm ) : return digestAuth ( realm ) + " " + basicAuth ( realm )