• Poul-Henning Kamp's avatar
    Implement setting of HTTP headers: · 753bc5a6
    Poul-Henning Kamp authored
    	sub vcl_deliver {
    		set resp.http.phk = "Beastie" "Rules";
    	}
    
    Would result in a new header line:
    
    	phk: BeastieRules
    
    Notice that strings are concatenated directly, you add spaces, commas etc
    where you want them.
    
    Other variables which have STRING format (or which can be converted to
    STRING format) can also be used:
    
    	sub vcl_deliver {
    		set resp.http.phk = "Server is: " resp.http.server ;
    	}
    
    Could result in:
    
    	phk: Server is: Apache/1.3.x LaHonda (Unix)
    
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1646 d4fa192b-c00b-0410-8231-f00ffab90ce4
    753bc5a6
Name
Last commit
Last update
..
libcompat Loading commit data...
libvarnish Loading commit data...
libvarnishapi Loading commit data...
libvcl Loading commit data...
Makefile.am Loading commit data...