3 ms·
Small typo-ish error in the article, emphasis mine: > 401 Unauthorized – This means the user isn’t not authorized to access a resource. Surely that should say
by Mordisquitos 6y ago
Small typo-ish error in the article, emphasis mine:
> 401 Unauthorized – This means the user isn’t not authorized to access a resource.
Surely that should say that the user isn't not unauthorised?
- s_dev 6y agoNo, just "isn't authorised" is clear. The triple negative is a bit much.
- throwoutttt 6y ago403 is unauthorized (forbidden due to authorization policy). 401 is unauthenticated (not logged in). Very important difference for clients handling authentication state.
- Mordisquitos 6y agoThat is not false, I didn't not fail to notice that after fixating on the incorrect double negative! However, not to be unfair, 401 is unfortunately not named "unauthenticated", even though it's conventional usage (as you point out) is not unintended to actually mean lack of authentication rather than of authorisation.