Remix.run Logo
Alifatisk a day ago

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

maxmcd a day ago | parent | next [-]

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.

jalk a day ago | parent | prev [-]

What’s the point besides a curious hack?

afavour a day ago | parent | next [-]

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

tgma a day ago | parent | prev | next [-]

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.

cryptonym a day ago | parent | prev [-]

One could leverage this as a clever way to update something on a page without redownloading it. Or from a proxy, without having to decompress & process body. Unfortunately support is limited to Firefox, so it's useless.