this post was submitted on 26 Jun 2023
89 points (92.4% liked)

Programmer Humor

33658 readers
254 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 19 comments
sorted by: hot top controversial new old
[–] akariii@lemmy.blahaj.zone 31 points 2 years ago

teapot. its used when the server refuses to brew coffee for the client because it's a teapot, not a coffee pot

[–] Kolossos@lemmy.world 19 points 2 years ago* (last edited 2 years ago) (1 children)
[–] owenfromcanada@lemmy.world 6 points 2 years ago

The "data" for most coffee URIs contain no caffeine.

Haven't read through that in a long time. Still hoping to get a HTCPCP-compliant coffee pot some day.

[–] Randy_Bobandy@lemmy.ml 11 points 2 years ago* (last edited 2 years ago)

Here is my handle, here is my censored

[–] inspxtr@lemmy.world 5 points 2 years ago (3 children)

lol what’s the context here?

[–] Zeus@lemmy.world 14 points 2 years ago (3 children)
[–] Dandroid@lemmy.world 5 points 2 years ago (1 children)

I learned about this http response code too late. About 4 years ago I was working at a startup and I was the "lead engineer" (aka only engineer) on a project where I had to design and implement an entire REST API. I really wish I would have put this in somewhere, since we weren't doing code review (because it was literally only me).

[–] sedawk@sh.itjust.works 2 points 2 years ago

Definitely GET /

*unofficial but may as well be official at this point

[–] spike@discuss.tchncs.de 1 points 2 years ago

It's a HTCPCP Response Code.

[–] waspentalive@lemmy.one 6 points 2 years ago

It is what your internet connected Tea kettle responds with when receiving a coffee information request.

[–] MajinBlayze@lemmy.world 2 points 2 years ago

Joke built into the http standard

[–] Yorokobii@lemmy.fmhy.ml 5 points 2 years ago

looks like a brodie enjoyer to me~

[–] epyon22@sh.itjust.works 4 points 2 years ago* (last edited 2 years ago)

Bit disappointed that this is not built into the c# http status codes. Was building a mock service and wanted to return something that would never occur in production for things I didn't have definitions for. This seemed like a perfect response but it's not part of the statues enum.

[–] sorrybookbroke@sh.itjust.works 4 points 2 years ago
[–] darknavi@vlemmy.net 3 points 2 years ago

Teapot. Can't you ~pour tea~ read?

[–] cupcakezealot@lemmy.blahaj.zone 3 points 2 years ago (1 children)

This is just step one of the British path to world programmer domination. Next up. All references to color will now be spelled in the proper colour

[–] saluki@discuss.tchncs.de 1 points 2 years ago

How did you find out about this? It was meant to be top secret.

https://github.com/joho/7XX-rfc Some additional status codes to cover a wide variety of interesting situations.

load more comments
view more: next ›