MCPcopy Create free account
hub / github.com/apache/httpd / req_aprtable2luatable

Function req_aprtable2luatable

modules/lua/lua_request.c:319–325  ·  view source on GitHub ↗

expose apr_table as (r/o) lua table */

Source from the content-addressed store, hash-verified

317
318/* expose apr_table as (r/o) lua table */
319static int req_aprtable2luatable(lua_State *L, apr_table_t *t)
320{
321 lua_newtable(L);
322 lua_newtable(L); /* [table, table] */
323 apr_table_do(req_aprtable2luatable_cb, L, t, NULL);
324 return 2; /* [table<string, string>, table<string, array<string>>] */
325}
326
327static int req_headers_in_table(lua_State *L)
328{

Callers 5

req_headers_in_tableFunction · 0.85
req_headers_out_tableFunction · 0.85
req_notes_tableFunction · 0.85
req_subprocess_env_tableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected