logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

HTTP::Throwable::Role::Status::Unauthorized - 401 Unauthorized

Attributes

www_authenticate
       This is a required string or array of string that will be used to populate the 'WWW-Authenticate'
       header(s) when creating a PSGI response.

Authors

       •   Stevan Little <stevan.little@iinteractive.com>

       •   Ricardo Signes <cpan@semiotic.systems>

Description

       The request requires user authentication. The response MUST include a WWW-Authenticate header field
       containing a challenge applicable to the requested resource. The client MAY repeat the request with a
       suitable Authorization header field. 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 might include relevant diagnostic information.

Name

       HTTP::Throwable::Role::Status::Unauthorized - 401 Unauthorized

Perl Version

       This library should run on perls released even a long time ago.  It should work on any version of perl
       released in the last five years.

       Although it may work on older versions of perl, no guarantee is made that the minimum required version
       will not be increased.  The version may be increased for any reason, and there is no promise that patches
       will be accepted to lower the minimum required perl.

See Also

       HTTP Authentication: Basic and Digest Access Authentication - <http://www.apps.ietf.org/rfc/rfc2617.html>

       WWW-Authenticate Header - <http://www.apps.ietf.org/rfc/rfc2617.html#sec-3.2.1>

Version

       version 0.028

See Also