r/ProgrammerHumor • • Oct 08 '26

Meme atThisPointImTooAfraidTooAsk

Post image
4.4k Upvotes

86 comments sorted by

View all comments

Show parent comment

19

u/wokeboogeyman Oct 09 '26

I propose that all tags should be updated to support a src= instead

15

u/GatotSubroto Oct 09 '26

<div src="…"> 🤔

11

u/The_Neto06 Oct 09 '26

Sure why not

4

u/gringrant Oct 09 '26

<br src="…">

2

u/HugoNikanor Oct 11 '26

Sure, but since <br/> can't have content, that link better point to nothing

1

u/gringrant Oct 11 '26

Content-Length MUST be 0

5

u/HugoNikanor Oct 11 '26

RFC 9110 (HTTP) specifies that:

A user agent SHOULD NOT send a Content-Length header field when the request message does not contain content and the method semantics do not anticipate such data

So I feel a better semantic would would a 204 (No Content) response, which would remove the need for a content-length header altogether.