How much can one pack into the header? Is there a limit?
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.
What’s the point besides a curious hack?
Does there need to be one? It raises awareness of the headers used, even if they’re used weirdly here.
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.
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?
It's using CSS, specifically the `content` property. You can use developer tools in Firefox to inspect it.
Doesn't work on Chrome
What does it work on? Or was it just hugged to death already?
It works with Firefox. It is pretty clever - (mis)uses the HTTP link header, which doesn't seem to be supported with Chrome.
Or safari on iOS
Seems like 'stylesheet' is only supported in Firefox: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Li...
How much can one pack into the header? Is there a limit?
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.
What’s the point besides a curious hack?
Does there need to be one? It raises awareness of the headers used, even if they’re used weirdly here.
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.
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?
It's using CSS, specifically the `content` property. You can use developer tools in Firefox to inspect it.
ah, thanks!