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

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] wheezy@lemmy.ml 8 points 2 days ago (2 children)

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.

[–] bountygiver@lemmy.ml 0 points 21 hours ago (1 children)

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

[–] wheezy@lemmy.ml 1 points 21 hours ago* (last edited 21 hours ago)

Thanks. I think I might have been misreading these in my head. Dyslexia is a dickhead. The number codes really helped.

[–] smeg@feddit.uk 1 points 2 days ago

Maybe I meant unauthenticated. What is this, mandatory cybersecurity education!?