(realm)
return 'Basic realm="%s"' % realm
Challengenes the client for a Basic authentication.
Challengenes the client for a Basic authentication.
Challengenes the client for a Basic authentication .
def basicAuth(realm):
    """Challengenes the client for a Basic authentication."""
    assert '"' not in realm, "Realms cannot contain the \" (quote) character."

    return 'Basic realm="%s"' % realm
def basicAuth ( realm ) : assert '"' not in realm , "Realms cannot contain the \" (quote) character." return 'Basic realm="%s"' % realm