Unset before variable set
Reading the guide for Delivering different content to different devices, I noticed that the suggested VCL does the following:
unset req.http.X-UA-Device;
unset req.http.X-UA-Vendor;
set req.http.X-UA-Device = "desktop";
set req.http.X-UA-Vendor = "generic";
What is the purpose of using unset
before set
?
Please sign in to leave a comment.
Comments
3 comments