r/ProgrammerHumor • • 32m ago

Meme imATeaPot

Post image
178 Upvotes

10 comments sorted by

12

u/tomassci do (copy) inf times: Why I shouldn't program 18m ago

Well, it is a response

5

u/SarcasmWarning 17m ago

I've yet to come across an RFC2324 compliant coffee pot even though lots of them now have LAN ports.

7

u/Zirkulaerkubus 17m ago

Is there a browser that actually renders this correctly?

7

u/MinecraftPlayer799 14m ago

What does “correctly” mean for that error?

3

u/Vogete 11m ago

What do you mean? It's an http response, there's nothing to render. Every browser will correctly display in the dev tools that the http responded with 418 but whatever is rendered on the viewport is still up to the site, and not the browser.

•

u/MartinMystikJonas 9m ago

418 is rendered same way as any other error response by browsers. We actually use it as response for maliciour requests (like secret scanning) because some dumber automated scanners gets all confused by it 😁

•

u/bramulous 2m ago

What

2

u/Single-Virus4935 15m ago

If you ask like that you get 42

•

u/urbanek2525 3m ago

I use 418 as the response code for a connectivity test for most of my REST services I've ever deployed. Mostly.as a joke, but at least once that unusual but legal response code has come in handy.

•

u/MIGULAI 1m ago

I always send httpcats with it