Auth.isReady

Tests if auth is ready to make a request for msg with.

For most auths, this is equivalent to soup.auth.Auth.isAuthenticated, but for some auth types (eg, NTLM), the auth may be sendable (eg, as an authentication request) even before it is authenticated.

class Auth
bool
isReady

Parameters

msg soup.message.Message

a #SoupMessage

Return Value

Type: bool

true if auth is ready to make a request with.