AuthDomain.challenge

Adds a "WWW-Authenticate" or "Proxy-Authenticate" header to msg.

It requests that the client authenticate, and sets msg's status accordingly.

This is used by classServer internally and is probably of no use to anyone else.

class AuthDomain
void
challenge

Parameters

msg soup.server_message.ServerMessage

a #SoupServerMessage