REGTESTS: lua: test the httpclient:get() feature
authorWilliam Lallemand <wlallemand@haproxy.org>
Fri, 24 Sep 2021 17:02:50 +0000 (19:02 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Fri, 24 Sep 2021 17:05:53 +0000 (19:05 +0200)
commit039cc083ffe3860033c7d6bbf79504b48f81cd84
tree096fc5141bfed9749b4e89c5b6d5469167763064
parent7d21836bc6b087b27da86a75af23204f4c79e7d4
REGTESTS: lua: test the httpclient:get() feature

This reg-test is heavily inspired by the lua_socket.vtc one.

It replaces the HTTP/1.1 request made manually with a socket object with
an httpclient object.
reg-tests/lua/lua_httpclient.lua [new file with mode: 0644]
reg-tests/lua/lua_httpclient.vtc [new file with mode: 0644]