Auth.update

Updates auth with the information from msg and auth_header, possibly un-authenticating it.

As with soup.auth.Auth.new_, this is normally only used by classSession.

class Auth
bool
update

Parameters

msg soup.message.Message

the #SoupMessage auth is being updated for

authHeader string

the WWW-Authenticate/Proxy-Authenticate header

Return Value

Type: bool

true if auth is still a valid (but potentially unauthenticated) #SoupAuth. false if something about auth_params could not be parsed or incorporated into auth at all.