unauthorized constant

int const unauthorized

unauthorized = 401.

Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.

https://tools.ietf.org/html/rfc7235#section-3.1

Implementation

static const int unauthorized = 401;