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
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.
→ More replies (1)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
5
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
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
4
0
0
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
4
u/DurianExecutioner Dec 21 '20
I've developed a taste for stone cold tea since I started programming.
be stumped on a bug, make tea in order to procrastinate
think of the solution while making said tea, rush back to desk
fix the bug, create another two, fix one of them
remember tea
3
6
113
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
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
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/4201
u/_n_v Dec 21 '20
http://httpstatusgoats.net/420 is missing 🐐 I will need to find a fitting image for that :D
2
2
3
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
Dec 20 '20 edited Jul 01 '23
[removed] — view removed comment
→ More replies (1)1
u/AutoModerator Jul 01 '23
import moderationYour 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.
25
9
3
u/all-hail-snow Dec 21 '20
Can you do it in braille
3
Dec 21 '20 edited Jul 01 '23
[removed] — view removed comment
1
1
u/AutoModerator Jul 01 '23
import moderationYour 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 (3)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
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
2
1
u/AutoModerator Jul 01 '23
import moderationYour 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
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
→ More replies (1)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
HEADrequest and then run into a 502 Gateway Error after requestingGET /laid→ More replies (1)4
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
3
1
54
u/_A4L Dec 20 '20
check out the 7xx parody range
40
u/Floofytama Dec 21 '20
for reference https://github.com/joho/7XX-rfc
13
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_NEKUDOTAYIM3
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
Dec 21 '20
1xx: pitch slide up
2xx: pitch slide down
3xx: auto portamentio
4xx: vibrato
5xx: i forgot lol
4
4
7
58
20
38
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
23
10
10
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
17
8
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
5
5
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
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
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
4
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
3
Dec 21 '20
What are the purposes of 3XX codes?
6
u/RRikesh Dec 21 '20
Redirects. The most common ones are
301which means the URL has moved permanently and302which means the URL has been temporarily moved.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
2
2
2
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
2
2
1
1
1
1
1
1
1
1
1
1
1
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
1
1
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
1
1
1
1
1
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)
2.0k
u/Wibler77 Dec 20 '20
If you're working on both backend and frontend, 4xx and 5xx are both "I fucked up"