Connected: An Internet Encyclopedia
10.4.2 401 Unauthorized

Up: Connected: An Internet Encyclopedia
Up: Requests For Comments
Up: RFC 2068
Up: 10 Status Code Definitions
Up: 10.4 Client Error 4xx
Prev: 10.4.1 400 Bad Request
Next: 10.4.3 402 Payment Required

10.4.2 401 Unauthorized

10.4.2 401 Unauthorized

The request requires user authentication. The response MUST include a WWW-Authenticate header field (section 14.46) containing a challenge applicable to the requested resource. The client MAY repeat the request with a suitable Authorization header field (section 14.8). If the request already included Authorization credentials, then the 401 response indicates that authorization has been refused for those credentials. If the 401 response contains the same challenge as the prior response, and the user agent has already attempted authentication at least once, then the user SHOULD be presented the entity that was given in the response, since that entity MAY include relevant diagnostic information. HTTP access authentication is explained in section 11.


Next: 10.4.3 402 Payment Required

Connected: An Internet Encyclopedia
10.4.2 401 Unauthorized