code 206 - visible as '206' in varnishncsa and as '200' from VCL code
Tollef Fog Heen
tfheen at varnish-software.com
Mon Aug 1 14:01:03 CEST 2011
]] Johnny Halfmoon
| thank you for your reply. I agree that the backend response would be
| 200. But what I need to see is the actual response code Varnish sends
| to the frontend, which should be 206. In the example code I therefor
| explicitly read out VRT_r_resp_status , but still see code 200.
200 vs 206 is decided after vcl_deliver has run. What is the use case
for knowing 200 vs 206 earlier? (If it's important, we can take a look
at it, but phk indicated it probably wasn't trivial to make the decision
earlier.)
Regards,
--
Tollef Fog Heen
Varnish Software
t: +47 21 98 92 64
More information about the varnish-misc
mailing list