mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
changes headers_in and headers_out handling in mod_lua to map apr_table_t instances as boxed pointers
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@737293 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
6
modules/lua/test/htdocs/headers.lua
Normal file
6
modules/lua/test/htdocs/headers.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
function handle(r)
|
||||
local host = r.headers_in['host']
|
||||
r:debug(host)
|
||||
r:puts(host)
|
||||
r.headers_out['wombat'] = 'lua'
|
||||
end
|
Reference in New Issue
Block a user