this post was submitted on 10 Apr 2026
148 points (91.6% liked)
Programmer Humor
30895 readers
775 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Wouldn't unauthorized only be meant for AFTER a login is successful?
Like, the user should have to have an active session first. Maybe you're just talking about that case though.
unauthorized (403) is still valid for unlogged in as you can permit anonymous access to certain resources.
unauthenticated (401) is for when you should be redirecting the user to the login page
Thanks. I think I might have been misreading these in my head. Dyslexia is a dickhead. The number codes really helped.
Maybe I meant unauthenticated. What is this, mandatory cybersecurity education!?