[PATCH] For Vary processing, treat an empty header (only whitespace), like a non-existent header[PATCH] For Vary processing, treat an empty header (only whitespace), like a non-existent header

Nils Goroll slink at schokola.de
Mon Dec 29 20:04:12 CET 2014


On 28/12/14 23:02, Artur Bergman wrote:
> Apparently mnot disagrees in general but allows for it in certain cases

Hm. What else could he say when asked this way? The interesting point is: How
can an intermediate know for which headers "empty" equals "non existent" if the
rfcs don't make any statement about this? (or do they and I haven't found the
right place?)

Tackling it from the other end: Who can name a single example where an empty
request header has any other semantics than "same as if it wasn't there"?

At any rate, phk is most likely right about treating these as two distinct cases
for Vary, but without any example for the contrary, I still think it should be
ok to merge them.

On the other hand, it's most likely an irrelevant discussion...

Nils



More information about the varnish-dev mailing list