Removing a header: unset vs remove?


#1

I was wondering what is the difference between unset resp.http.X-Powered-By; and remove resp.http.X-Powered-By;.
They both seem to achieve the same thing - removing the HTTP header X-Powered-By.


#2

There is no difference. But remove is old syntax, and no longer supported in newer versions of Varnish.


#3

Thanks for the clarification!