unauthorized constant

HttpStatus const unauthorized

401 Unauthorized

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

Implementation

static const unauthorized = HttpStatus(401);