26

Contentlesshtml – An HTML page served entire in HTTP headers

Doesn't work on Chrome

an hour agocryptonym

What does it work on? Or was it just hugged to death already?

an hour agodonatj

It works with Firefox. It is pretty clever - (mis)uses the HTTP link header, which doesn't seem to be supported with Chrome.

an hour agoerikprotagonist

How much can one pack into the header? Is there a limit?

an hour agoAlifatisk

I think if you go above 32kb for the size of all headers you'll start to see things breaking in various libraries and services.

20 minutes agomaxmcd

What’s the point besides a curious hack?

43 minutes agojalk

Does there need to be one? It raises awareness of the headers used, even if they’re used weirdly here.

5 minutes agoafavour

It does not really work on all browsers, but I can imagine scenarios where in some network middleware you have some dynamic control over headers but don't have control over the content, so that might be once place something like this could be useful.

8 minutes agotgma

Why isn't it being assembled as HTML that can be viewed in document inspector or via viewing source? Ht HTML that extensions inspect shows up. If it is assembled to be rendered, why isn't it available anywhere else in the browser to view?

an hour agoruthmarx

It's using CSS, specifically the `content` property. You can use developer tools in Firefox to inspect it.

an hour agojansan

ah, thanks!