Changing the Varnish Date header to UTC

Tollef Fog Heen tfheen at varnish-software.com
Mon Jun 4 08:50:13 CEST 2012


]] Neil Saunders

> Hopefully a quick one - Is there any way to get varnish to provide the date
> header in UTC instead of GMT?

No, it's the required format according to RFC2616.  See section 3.3.1:

       HTTP-date    = rfc1123-date | rfc850-date | asctime-date
       rfc1123-date = wkday "," SP date1 SP time SP "GMT"
       rfc850-date  = weekday "," SP date2 SP time SP "GMT"

-- 
Tollef Fog Heen
Technical lead, Varnish Software
t: +47 21 98 92 64



More information about the varnish-misc mailing list