haproxy/reg-tests/lua
William Lallemand 746e6f3f8e MINOR: httpclient/lua: supports headers via named arguments
Migrate the httpclient:get() method to named arguments so we can
specify optional arguments.

This allows to pass headers as an optional argument as an array.

The () in the method call must be replaced by {}:

	local res = httpclient:get{url="http://127.0.0.1:9000/?s=99",
	            headers= {["X-foo"]  = { "salt" }, ["X-bar"] = {"pepper" }}}
2021-10-06 15:21:02 +02:00
..
bad_http_clt_req_duration.lua
bad_http_clt_req_duration.vtc CLEANUP: assorted typo fixes in the code and comments 2021-08-16 12:37:59 +02:00
close_wait_lf.lua
close_wait_lf.vtc CLEANUP: reg-tests: Remove obsolete no-htx parameter for reg-tests 2021-06-04 15:41:21 +02:00
common.pem
h_txn_get_priv.lua
h_txn_get_priv.vtc CLEANUP: reg-tests: Remove obsolete no-htx parameter for reg-tests 2021-06-04 15:41:21 +02:00
lua_httpclient.lua MINOR: httpclient/lua: supports headers via named arguments 2021-10-06 15:21:02 +02:00
lua_httpclient.vtc REGTESTS: lua: test the httpclient:get() feature 2021-09-24 19:05:53 +02:00
lua_socket.lua
lua_socket.vtc REGTESTS: Remove REQUIRE_VERSION=1.6 from all tests 2021-06-11 19:21:28 +02:00
set_var.lua
set_var.vtc MEDIUM: vars: replace the global name index with a hash 2021-09-08 15:06:11 +02:00
txn_get_priv-print_r.lua
txn_get_priv-thread.vtc CLEANUP: reg-tests: Remove obsolete no-htx parameter for reg-tests 2021-06-04 15:41:21 +02:00
txn_get_priv.lua
txn_get_priv.vtc CLEANUP: reg-tests: Remove obsolete no-htx parameter for reg-tests 2021-06-04 15:41:21 +02:00
wrong_types_usage.lua
wrong_types_usage.vtc CLEANUP: reg-tests: Remove obsolete no-htx parameter for reg-tests 2021-06-04 15:41:21 +02:00