You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ji...@apache.org on 2017/07/06 14:51:51 UTC

svn commit: r1801066 - /httpd/test/framework/trunk/t/htdocs/modules/lua/setheaders.lua

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