On Wed, Jul 12, 2023 at 7:18 AM Poul-Henning Kamp <p...@phk.freebsd.dk> wrote:
>
> --------
> Dridi Boukelmoune writes:
>
> > > I would prefer you do not overload any Well Known Headers.
> > >
> > >         X-VTC: c1
> > >
> > > maybe ?
> >
> > In the spirit of rfc6648 i would rather use a "VTC-" prefix, so
> > something more like
> >
> >     VTC-Client: c1
> >
> > But also, since a VTC client mocks a user agent, I would rather use
> > the standard header for this. We can also add a -noua option similar
> > to -nolen, -nohost and -nodate and imply -noua when an explicit `-hdr
> > "User-Agent: other"` is present.
>
> So what about the servers ?

I would be on board with the user agent counterpart:

    User-Agent: vtest (c1)
    vs
    Server: vtest (s1)

I suppose this would be even more useful for the `s0 -dispatch` case,
where the Via header generated by varnishd would not carry this
nuance.

Dridi
_______________________________________________
varnish-dev mailing list
varnish-dev@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev

Reply via email to