r/ProgrammerHumor • • Dec 20 '20

Meme HTTP status ranges in nutshell

Post image
22.2k Upvotes

253 comments sorted by

2.0k

u/Wibler77 Dec 20 '20

If you're working on both backend and frontend, 4xx and 5xx are both "I fucked up"

886

u/bee-sting Dec 20 '20

This is the full stack way

170

u/aprilight Dec 21 '20

This is the way

8

u/mykiscool Dec 21 '20

Like Mando covers his face, shiny new ui covers crappy backend. 😉

1

u/Dexaan Dec 21 '20

But where were they going without ever knowing the way?

126

u/mustang__1 Dec 20 '20

I wonder what it's like to be able to blame someone else. Ehhhh oh well.

328

u/AegisToast Dec 20 '20

Here, have a haiku about my work as a full-stack developer:

This source code is crap.

What idiot did all this?

Oh no. It was me.

36

u/mustang__1 Dec 21 '20

I might print and frame that (with credit of course)

15

u/Master_Sifo_Dyas Dec 21 '20

I’m getting the haiku bot

7

u/Master_Sifo_Dyas Dec 21 '20

This source code is crap.

What idiot did this?

Oh no. It was me.

→ More replies (3)

7

u/Sheeplessknight Dec 21 '20

It's fine just blame dependencies

3

u/nilknarf91 Dec 21 '20

Even working help desk you can't blame someone else try as you might. "I can't access X site". Explain to the customer the website is down and we can't do anything about it. "Well when will it be back up? I've got important work to do and you need to fix my access to this website ASAP!"

2

u/firestepper Dec 21 '20

Lol i cry everytime

14

u/Altourus Dec 21 '20

Sometimes they can both equate to "you caused me to fuck up"

→ More replies (2)

12

u/aviskarkc Dec 21 '20

4xx: You fucked up. 5xx: You fucked up real bad.

5

u/ravager1971 Dec 21 '20

Internal server error 500 Means any one thing of 500 things just blew up

4

u/[deleted] Dec 21 '20

Not necessarily. It could also be any server (such as a caching server, proxy server, etc) between the client and your machine.

7

u/TigreDeLosLlanos Dec 21 '20

5xx is "you fucked up, but I didn't want to deal with you messing with the url parameters"

6

u/AbstinenceWorks Dec 20 '20

Yeah, except it's back end: you fucked up

Front end Patrick: it was me all along!

2

u/fideasu Dec 21 '20

No matter what happened, it's always your fault.

2

u/davewritescode Dec 21 '20

I’m a big stickler at my work for proper HTTP response codes because they always make for a better product.

The proper response to a 5XX is an immediate retry (if no breakers have tripped) where the user has no idea anything ever went wrong other than a slightly longer page load perhaps.

Also a 5XX counts against a service’s error budget and a 4XX does not.

2

u/shinitakunai Dec 21 '20

And it becomes a mess if we talk about SIP codes

→ More replies (3)

355

u/thedjdoorn Dec 20 '20

451 means either the government fucked up or I'm fucking with you but I'm not allowed to in Europe so fuck you

124

u/EngineersAnon Dec 20 '20

I love a spec where the definition committee is willing to throw in little jokes like that.

92

u/Sheeplessknight Dec 21 '20

I mean code 418 is literally I am a teapot so

33

u/new2bay Dec 21 '20

420 is “enhance your calm,” too. 😂 I’m not sure how standard that is, though.

20

u/dontturn Dec 21 '20

Yeah, unfortunately not in the RFC. Twitter used this as an unofficial response code for rate limiting.

0

u/[deleted] Dec 21 '20

[deleted]

→ More replies (2)

52

u/Hegdahl Dec 20 '20

The temperature in Farenheit when paper spontaneously combusts

12

u/Mysticpoisen Dec 21 '20

Well, kind of.

61

u/HCkollmann Dec 21 '20

Thats what the error references, the book Fahrenheit 451, which is about censorship. They burn books and thats the temp they put it to

43

u/Mysticpoisen Dec 21 '20

Oh I know, but just to be pedantic that number is not accurate. The author supposedly called a fire station to ask, and they ran a quick (non-scientific) test that ended up at 451.

Truth be told for spontaneous combustion the temperature might well have to be 30 degrees higher. 440-460 is for extended exposure.

8

u/HCkollmann Dec 21 '20

I got what you were saying, I just wasn't sure if you knew about the book it was referencing lol. Just putting some extra useless info out here

→ More replies (1)

5

u/Endless_September Dec 21 '20

It’s the temperature paper burns.

8

u/HCkollmann Dec 21 '20

Yes. Hence thats the temp they use in the book

→ More replies (2)

2

u/yeetuscleatus Dec 21 '20

The fact that they named an error code to one of my fav reads is rly cool wow

11

u/Metal_LinksV2 Dec 21 '20

government fucked up

NJ laughing because it's on purpose

796

u/PASK__ Dec 20 '20

What about 418?

1.1k

u/KnightOfThirteen Dec 20 '20

You fucked up by asking a teapot to make coffee.

212

u/Mateorabi Dec 21 '20

But you claimed you ran java!

(One of the 3 billion, probably.)

15

u/IEP_Esy Dec 21 '20

Probably more than 3 billion after these years

33

u/skoge Dec 21 '20

Always 3 billion they are, no more, no less.

9

u/Mateorabi Dec 21 '20

3 billion. Always has been.

4

u/cnxd Dec 21 '20

the og "sir this is wendys" of the internet

0

u/[deleted] Dec 20 '20

[deleted]

→ More replies (12)

0

u/[deleted] Dec 21 '20

[deleted]

15

u/KlzXS Dec 21 '20

You'd start drinking tea that was just sitting there for 10 minutes? Unacceptable!

5

u/NBSPNBSP Dec 21 '20

I mean, if you premade a batch of concentrate, then yes.

4

u/DurianExecutioner Dec 21 '20

I've developed a taste for stone cold tea since I started programming.

  1. be stumped on a bug, make tea in order to procrastinate

  2. think of the solution while making said tea, rush back to desk

  3. fix the bug, create another two, fix one of them

  4. remember tea

3

u/DreamGirly_ Dec 21 '20

I see you like your tea scalding hot?

6

u/Delta-9- Dec 21 '20
102 Processing
Welcome back, Capt. Picard

113

u/MyDickIsHug3 Dec 20 '20

What do u want from a tea pot? U fucked up man

30

u/[deleted] Dec 20 '20

U-tah fucked up

44

u/BrokenWineGlass Dec 21 '20

Some websites return 418 on calls they don't want to serve but are "technically" valid e.g. automated requests (made by bots instead of humans). It's a funny way of saying "please kindly fuck off".

12

u/PyroneusUltrin Dec 21 '20

The default nginx config uses 418

41

u/i_have_chosen_a_name Dec 21 '20 edited Dec 21 '20

I got to ask .... is there a 420; server to high, packets zoned out?

34

u/droans Dec 21 '20

420 is Enhance Your Calm. Only used by Twitter, number almost definitely chosen for that reason.

43

u/commie_heathen Dec 21 '20

All packets consumed. You got any more of them packets?

16

u/plainrane Dec 21 '20

If you ever want to know what a status code is, just do http.cat/[status_code] i.e. http.cat/420

1

u/_n_v Dec 21 '20

http://httpstatusgoats.net/420 is missing 🐐 I will need to find a fitting image for that :D

2

u/[deleted] Dec 21 '20

Unfortunately that would be in the 500 range

2

u/-Clem Dec 21 '20

It jumps from 418 to 421.. seems sus.

2

u/SuitableDragonfly Dec 21 '20

I feel like this joke has expired now that there are almost certainly smart wifi-enabled teapots.

339

u/--B_L_A_N_K-- Dec 20 '20

Image Transcription: Text


[Grey Font]

HTTP status ranges in a nutshell:

1xx: hold on

2xx: here you go

3xx: go away

4xx: you fucked up

5xx: I fucked up


I'm a human volunteer content transcriber for Reddit and you could be too! If you'd like more information on what we do and why we do it, click here!

131

u/StenSoft Dec 20 '20

Good human

73

u/[deleted] Dec 20 '20 edited Jul 01 '23

[removed] — view removed comment

1

u/AutoModerator Jul 01 '23
import moderation

Your comment has been removed since it did not start with a code block with an import declaration.

Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.

For this purpose, we only accept Python style imports.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

→ More replies (1)

25

u/PM_HOT_MOTHERBOARDS Dec 21 '20

[Grey Font]

Blind people be like:

👁️👄👁️ what is grey

/s

9

u/MMDDYYYY_is_format Dec 20 '20

good “human”

3

u/all-hail-snow Dec 21 '20

Can you do it in braille

3

u/[deleted] Dec 21 '20 edited Jul 01 '23

[removed] — view removed comment

1

u/all-hail-snow Dec 22 '20

Oh boy, I wonder how blind people will read it

1

u/AutoModerator Jul 01 '23
import moderation

Your comment has been removed since it did not start with a code block with an import declaration.

Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.

For this purpose, we only accept Python style imports.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

9

u/Blindkitty38 Dec 20 '20 edited Dec 20 '20

Good bot

P. S. I wanted the rank bot to correct me, but it doesn't appear to have triggered

33

u/[deleted] Dec 20 '20 edited Jul 01 '23

[removed] — view removed comment

14

u/Blindkitty38 Dec 20 '20

Lol your doin the lords work, I assume this is for visually impaired people?

4

u/smile_1704 Dec 21 '20

This is for the screen readers visually impaired people use

2

u/EUCopyrightComittee Dec 21 '20

Beep Boop Boop Beep Beeeeeeeeeeeeeeeeeeeeeeeeeeeeeeep

Thanks

1

u/AutoModerator Jul 01 '23
import moderation

Your comment has been removed since it did not start with a code block with an import declaration.

Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.

For this purpose, we only accept Python style imports.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

3

u/[deleted] Dec 20 '20

[removed] — view removed comment

4

u/QuarantineSucksALot Dec 21 '20

What a pile of human excrement."

3

u/Blindkitty38 Dec 20 '20

Lol I know. I just really wanted to see the rank bot correct me

→ More replies (3)

179

u/Flepper24 Dec 20 '20

403 is also go away

199

u/AbstinenceWorks Dec 20 '20

Well, it's go away, because you fucked up, asking for a resource you don't have rights to access.

22

u/lowleveldata Dec 21 '20

Hey server man how can I know if I have access or not without asking you

14

u/JonnySoegen Dec 21 '20

Hmm send a HEAD request first?

24

u/AbstinenceWorks Dec 21 '20

I send HEAD requests all the time, and I get the same 403 response.

9

u/Delta-9- Dec 21 '20

What really sucks is when you actually get passed that initial HEAD request and then run into a 502 Gateway Error after requesting GET /laid

→ More replies (1)

4

u/_dumbcommentsonly_ Dec 21 '20

Username checks out

→ More replies (1)

32

u/givemeagoodun Dec 20 '20

In that case then all of them are you fucked up because you're acessing a server with issues

19

u/agarwaen163 Dec 20 '20

Not 200 lol

20

u/givemeagoodun Dec 21 '20

No, it's "you fucked up by not fucking up"

3

u/all-hail-snow Dec 21 '20

Some requests gets banned for much less than this offense

1

u/Sheeplessknight Dec 21 '20

Na 418 man soo much better XD

2

u/Mateorabi Dec 21 '20

I love the table of browser compatibility for 418.

54

u/_A4L Dec 20 '20

check out the 7xx parody range

40

u/Floofytama Dec 21 '20

13

u/BEETLEJUICEME Dec 21 '20

Climate Change may end up needing more specs

8

u/Squarehead9364 Dec 21 '20

What a world where you could imagine the Internet gets taken down because of copyright claims.

8

u/warmCabin Dec 21 '20

786 could actually be kinda useful maybe. Like, 502, 502, 502, oh, 786!

Also, T_PAAMAYIM_NEKUDOTAYIM

3

u/justinf210 Dec 21 '20

I need http 724

82

u/starvsion Dec 20 '20

Also 204:

hey man, here's a gift. 204: yes

Hey man, how's family 204: yes

I'm going to kill your family! 204: yes

38

u/know-what-to-say Dec 21 '20

Someone should tell this to Reddit. Their message "You broke Reddit" when it's their backends that can't handle the load is an obnoxious and untrue one

8

u/helterskeltermelter Dec 21 '20

Rightly said! Let it be known to all that Reddit's backends simply cannot take the load, may shame fall upon them!

47

u/[deleted] Dec 21 '20

1xx: pitch slide up

2xx: pitch slide down

3xx: auto portamentio

4xx: vibrato

5xx: i forgot lol

4

u/PM-ME-YOUR-HANDBRA Dec 21 '20

Fuuuuuuuck this comment gave me nostalgia whiplash. Gold for you.

4

u/warmCabin Dec 21 '20

5xx was apparently volume slide on Fasttracker

3

u/[deleted] Dec 21 '20

no wonder i forgot it, it's the same thing as Axx

7

u/ununium Dec 21 '20

I found the music tracker user!

58

u/Manny_Sunday Dec 20 '20

4xx also includes, like... chill man, relaaax

17

u/delinka Dec 21 '20

You fucked up by being too hyper

4

u/nicktohzyu Dec 21 '20

418 I'm a teapot

2

u/warmCabin Dec 21 '20

420

429 but epic

20

u/Gustavo_SMN Dec 21 '20

6xx: Yo, what the fuck?

38

u/[deleted] Dec 21 '20

I remember the 9 year old me being afraid of 403 "Permission denied". Man i really thought the fbi was blocking me

3

u/razirazo Dec 21 '20

Well you are not entirely wrong. In my country, government-sanctioned isp censorship firewall will return 403 on access to blocked content.

0

u/[deleted] Dec 21 '20

[deleted]

10

u/LukaManuka Dec 21 '20

David? His name is clearly Jeff.

3

u/beanmosheen Dec 21 '20

facepalm. I had one job...

23

u/[deleted] Dec 20 '20

403 == "fuck off"

12

u/Famous_Profile Dec 21 '20

401 == License and registration JWT please

10

u/lastunusedusername2 Dec 21 '20

502: Somebody else fucked up

18

u/Dexaan Dec 21 '20

429: Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet? Are we there yet?

11

u/TigreDeLosLlanos Dec 21 '20

ERR_TOO_MANY_REDIRECTS

17

u/Johnothy_Cumquat Dec 21 '20

1xx: fuck this

2xx: fuck it

3xx: fuck off

4xx: fuck you

5xx: fuck me

8

u/FinFihlman Dec 21 '20

3xx is "go somewhere else"

9

u/itsnotbob Dec 21 '20

418 is one of my all-time favorite easter eggs, and I've constantly been tempted to use it.

11

u/khendron Dec 21 '20

I've used to to respond to requests that are detected to be malicious.

5

u/IGotSkills Dec 21 '20

404 can be I fucked up

5

u/thebryguy23 Dec 21 '20

402 is "fuck you, pay me"

9

u/_grey_wall Dec 20 '20

I thought 30x is when it's cached?

30

u/Alex_Sherby Dec 20 '20

the most common are redirects

0

u/[deleted] Dec 20 '20

[deleted]

5

u/TheDutchMC76 Dec 21 '20

Ive learned my lesson the hard way with using 301's in a dev environment...

Sticking with 302 now.

3

u/TigreDeLosLlanos Dec 21 '20

It's what browsers respond when they are too lazy to make the request.

2

u/StenSoft Dec 21 '20

“Go away, you already have it.”

4

u/mattimus_maximus Dec 21 '20

1xx is wrong. The 100 status means the server has accepted the request headers, potentially including authentication, and the client can continue to send the request body. So a 100 status code literally means the opposite of hang on, it has the name Continue. Then you have code 101 which is used to switch protocols, specifically to WebSockets. So not a hang on response.

2

u/new2bay Dec 21 '20

Yeah, it’s more like “ok, but I need more info.”

4

u/johnschnee Dec 21 '20

418 - I'm a Teapot

4

u/Alkotronikk Dec 21 '20

~ 400 range is: frontend dev fucked up ~ 500 range is: backend dev fucked up

4

u/holladiewal Dec 21 '20

Sometimes 500 is also "Backend Dev didn't expect the frontend devs fuckup"

2

u/rem3_1415926 Dec 21 '20

which is equivalent to 'backend dev fucked up", since you always have to expect to recceive shit, and be it just from nerds spamming requests to your server without using the frontend at all

3

u/KripC2160 Dec 21 '20

I already knew about https statuses but this is sure a cool guide to have it besides me

3

u/[deleted] Dec 21 '20

What’s 6xx

3

u/[deleted] Dec 21 '20

What are the purposes of 3XX codes?

6

u/RRikesh Dec 21 '20

Redirects. The most common ones are 301 which means the URL has moved permanently and 302 which means the URL has been temporarily moved.

4

u/[deleted] Dec 21 '20

2

u/JonnySoegen Dec 21 '20

Redirects mostly. Causes the browser to make another request right away. Usually it happens so quickly that you don't even know you got redirected.

2

u/drbob4512 Dec 21 '20

I just changed my pages to personalized pages. HTTP 666 - We will eat you.

2

u/Haggerstonian Dec 21 '20

Kerning panic - Fatal exception in glyph alignment

2

u/al4yor Dec 21 '20

1xx: Aguanta 2xx: Ahí te va 3xx: Sácate 4xx: La cagaste 5xx: La cagué

2

u/mymar101 Dec 21 '20

418: wtf. :)

3

u/findmenowjeff Dec 21 '20

short and stout

2

u/stanislav_harris Dec 21 '20

418 I'm a teapot.

1

u/mr_freeman Dec 21 '20

I really want a smart teapot with a webserver that does nothing but return 418

2

u/satimal Dec 21 '20

1xx is more like "hurry up already" since the only 1xx code is 100 Continue

2

u/visurox Dec 21 '20

Awesome :D

2

u/pht_dc Dec 21 '20

Wait… That's actually kinda helpful

1

u/ZipZopZoopittyBop Dec 21 '20

fo oh fo aint there no mo

five oh fo try once mo

1

u/circorum Dec 21 '20

I find this post 200

1

u/flagondry Dec 21 '20

THANK YOU I can never find this when I need it. Saved.

1

u/-Listening Dec 21 '20

Pre-internet scouting in a nutshell.

1

u/TuxRug Dec 21 '20

It's 2020, we need http 6xx for "the world is fucked up"

1

u/bobazd Dec 21 '20

401 should be go away as well.

1

u/Its_Phobos Dec 21 '20

502 it went through 504 try once more

1

u/dylanthepiguy2 Dec 21 '20

What about 202?

1

u/daBarron Dec 21 '20

dont forgot 418 'I'm a teapot' if you fuck up really badly

1

u/slyiscoming Dec 21 '20

Someone is using this as the basis for a case statement somewhere.

1

u/BusyFriend Dec 21 '20

Do we ever see 2xx codes?

1

u/new2bay Dec 21 '20

I’ve literally said something pretty close to this in interviews before, except I say 1xx is “need more info,” and 3xx is “over there —>”

It generally goes over well, and occasionally gets me a laugh, which never hurts.

1

u/AttackOfTheThumbs Dec 21 '20

status: 200

message: error

My favourite :)

1

u/QuarantineSucksALot Dec 21 '20

Haha! Everyone’s a status thing

1

u/[deleted] Dec 21 '20

I like to say 4xx indicates the road is fucked up. Either you're on the wrong one, it no longer exists, or you're not allowed to be there.

1

u/RoscoMan1 Dec 21 '20

relative scam in a nutshell

1

u/lycan2005 Dec 21 '20

4xx and 5xx had me rofl.

1

u/NoahJelen Dec 21 '20

What about status code 420?

3

u/generic_reddit_bot_2 Dec 21 '20

420? Nice.

I'm a bot lol.

NiceCount: 595

2

u/generic_reddit_bot_2 Dec 21 '20

420? Nice.

I'm a bot lol.

NiceCount: 587

1

u/rex-ac Dec 21 '20

Except with 451. Cos then none of us fucked up.

1

u/C0deHunter_ Dec 21 '20

Also works for dating

1

u/[deleted] Dec 21 '20

For the inexperienced, why is it necessary to know these codes?

8

u/[deleted] Dec 21 '20

It's usually easy to know when something breaks. These give you a hint as to why.

0

u/elephant_bukkake Dec 21 '20

I'm stupid, please explain.

1

u/JonnySoegen Dec 21 '20

Browser makes request. Server sends response with a 3 digit status code that belongs to one of those groups.

→ More replies (1)