this post was submitted on 25 Sep 2025
1092 points (99.2% liked)

Programmer Humor

26611 readers
1641 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 

Only valid in PHP?

you are viewing a single comment's thread
view the rest of the comments
[–] SatyrSack@quokk.au 18 points 3 days ago (4 children)

Sounds like you should respond to that with a 400 Bad Request

The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).

[–] Atherel@lemmy.dbzer0.com 9 points 3 days ago

Id ho with

415 Unsupported Media Type

or

426 Upgrade Required because it's clearly the wrong protocol

[–] SeductiveTortoise@piefed.social 6 points 3 days ago (2 children)

Valid alternatives: 307 temp redirect to mailbox, 402 payment required to endure such pain or the classic 418. I'd go with the 418.

[–] 418_im_a_teapot@sh.itjust.works 5 points 3 days ago (1 children)
[–] SeductiveTortoise@piefed.social 1 points 3 days ago (2 children)

Someone completely incapable of coming up with a witty comment when it’s my time to shine.

[–] Ebber@lemmings.world 3 points 3 days ago (1 children)

I might go with a 403 how dare you!

That's a good one as well. 406, absolutely not acceptable, Sir!

[–] 418_im_a_teapot@sh.itjust.works 2 points 3 days ago* (last edited 3 days ago)

x402 … charge for your time.

[–] caseyweederman@lemmy.ca 1 points 3 days ago