<div dir="auto"><div dir="ltr" style="font-family:sans-serif;font-size:12.8px"><pre style="white-space:pre-wrap;word-wrap:break-word">If I want to make some decision by checking some header(eg:
req.http.test) in vcl_backend_response being set in vcl_recv but not
sent as http header while fetching from backend or while sending
response to client, how should I do this?
Let's say, I want to store all the objects that is set to 'true' in
req.http.test header in vcl_recv and check it in vcl_backend_beresponse
to store that object in "test.storage". But, as I am unsetting the
header(bereq.http.test) in vcl_backend_fetch, it can't be used in
vcl_backend_response while setting storage hint.
Any suggestion?
Thanks in advance.</pre></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Apr 9, 2018, 11:00 Md. Golam Hossain <<a href="mailto:mghhimu@gmail.com">mghhimu@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><pre style="color:rgb(0,0,0);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial;word-wrap:break-word;white-space:pre-wrap">If I want to make some decision by checking some header(eg:
req.http.test) in vcl_backend_response being set in vcl_recv but not
sent as http header while fetching from backend or while sending
response to client, how should I do this?
Let's say, I want to store all the objects that is set to 'true' in
req.http.test header in vcl_recv and check it in vcl_backend_beresponse
to store that object in "test.storage". But, as I am unsetting the
header(bereq.http.test) in vcl_backend_fetch, it can't be used in
vcl_backend_response while setting storage hint.
Any suggestion?
Thanks in advance.</pre></div>
</blockquote></div>