Skip to main content

CHALLENGE

Constant CHALLENGE 

Source
pub const CHALLENGE: &str = "Basic realm=\"masque\"";
Expand description

The challenge offered when credentials are missing or wrong.

RFC 9110 ยง11.7.1 requires a Proxy-Authenticate field on every 407. Surge sends credentials up front and does not wait to be challenged, so this is for interoperability and for whoever is debugging with curl.