this post was submitted on 26 Jun 2023
92 points (92.6% liked)

Programmer Humor

32361 readers
217 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
[–] [email protected] 31 points 1 year ago

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

[–] [email protected] 19 points 1 year ago* (last edited 1 year ago) (1 children)
[–] [email protected] 6 points 1 year 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.

[–] [email protected] 11 points 1 year ago* (last edited 1 year ago)

Here is my handle, here is my censored

[–] [email protected] 5 points 1 year ago (3 children)

lol what’s the context here?

[–] [email protected] 14 points 1 year ago (3 children)
[–] [email protected] 5 points 1 year 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).

[–] [email protected] 2 points 1 year ago

Definitely GET /

[–] [email protected] 3 points 1 year ago

*unofficial but may as well be official at this point

[–] [email protected] 1 points 1 year ago

It's a HTCPCP Response Code.

[–] [email protected] 6 points 1 year ago

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

[–] [email protected] 2 points 1 year ago

Joke built into the http standard

[–] [email protected] 5 points 1 year ago

looks like a brodie enjoyer to me~

[–] [email protected] 4 points 1 year ago
[–] [email protected] 4 points 1 year 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

[–] [email protected] 1 points 1 year ago

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

[–] [email protected] 3 points 1 year ago* (last edited 1 year 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.

[–] [email protected] 3 points 1 year ago

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

[–] [email protected] 1 points 1 year ago

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

load more comments
view more: next ›