httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1801066 - /httpd/test/framework/trunk/t/htdocs/modules/lua/setheaders.lua
Date Thu, 06 Jul 2017 14:51:51 GMT
Author: jim
Date: Thu Jul  6 14:51:51 2017
New Revision: 1801066

URL: http://svn.apache.org/viewvc?rev=1801066&view=rev
Log:
Bypass apr_table.set usage for now...
It's undocumented, afaict, and not really implemented
well at present

Modified:
    httpd/test/framework/trunk/t/htdocs/modules/lua/setheaders.lua

Modified: httpd/test/framework/trunk/t/htdocs/modules/lua/setheaders.lua
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/t/htdocs/modules/lua/setheaders.lua?rev=1801066&r1=1801065&r2=1801066&view=diff
==============================================================================
--- httpd/test/framework/trunk/t/htdocs/modules/lua/setheaders.lua (original)
+++ httpd/test/framework/trunk/t/htdocs/modules/lua/setheaders.lua Thu Jul  6 14:51:51 2017
@@ -1,5 +1,8 @@
 function handle(r)
     r.headers_out["X-Header"] = "yes"
     r.headers_out["X-Host"]   = r.headers_in["Host"]
+    --[[
     apr_table.set(r.headers_out, "X-Compat", "compat")
+    --]]
+    r.headers_out["X-Compat"]   = "compat"
 end



Mime
View raw message