summaryrefslogtreecommitdiffstats
path: root/debian/perl-framework/t/htdocs/modules/lua/setheaders.lua
blob: faa7f6836232e01263cc2adeb3f404b584a62ecd (plain)
1
2
3
4
function handle(r)
    r.headers_out["X-Header"] = "yes"
    r.headers_out["X-Host"]   = r.headers_in["Host"]
end