[Varnish] #1757: If-Match header wrong format

Varnish varnish-bugs at varnish-cache.org
Wed Jul 1 14:03:42 CEST 2015


#1757: If-Match header wrong format
---------------------------------+----------------------
 Reporter:  vko                  |       Type:  defect
   Status:  new                  |   Priority:  normal
Milestone:  Varnish 4.0 release  |  Component:  varnishd
  Version:  4.0.3                |   Severity:  normal
 Keywords:  If-Match             |
---------------------------------+----------------------
 We have some trouble with the If-Match header. So far we understand If-
 Match or If-None-Match should be like this format

 If-None-Match: "xyzzy"
 If-None-Match: W/"xyzzy"
 If-None-Match: "xyzzy", "r2d2xxxx", "c3piozzzz"
 If-None-Match: W/"xyzzy", W/"r2d2xxxx", W/"c3piozzzz"
 If-None-Match: *
 (Examples from http://www.freesoft.org/CIE/RFC/2068/187.htm)


 In the varnishlog we see the format like

  BereqHeader    If-Match: W/0

 As you can see without quotation marks. Our expectation is like

  BereqHeader    If-Match: W/"0"

 It seems to be a bug in varnish.

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1757>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator



More information about the varnish-bugs mailing list