• 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
bin Loading commit data...
debian Loading commit data...
doc Loading commit data...
etc Loading commit data...
include Loading commit data...
lib Loading commit data...
man Loading commit data...
redhat Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
README Loading commit data...
autogen.des Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
varnishapi.pc.in Loading commit data...