summaryrefslogtreecommitdiffstats
path: root/modules/lua/test/htdocs/headers.lua
blob: 35938eae5f1f001db186194b549b8cc34f0434a4 (plain)
1
2
3
4
5
6
function handle(r)
   local host = r.headers_in['host']
   r:debug(host)
   r:puts(host)
   r.headers_out['wombat'] = 'lua'
end