The 401 (Unauthorized) status code indicates that the request has not been applied because it lacks valid authentication credentials for the target resource. The server generating a 401 response MUST send a WWW-Authenticate header field (Section 4.1) containing at least one challenge applicable to the target resource. (RFC 7235: Hypertext Transfer Protocol (HTTP/1.1): Authentication)


Return to list of all ( HTTP Status Codes | Web Concepts )