challenge

open fun challenge(msg: ServerMessage)

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 class@Server internally and is probably of no use to anyone else.

Parameters

msg

a #SoupServerMessage