Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
a462ee0af4fa5e3172897edcfc532a5c4991dafa
/
.
/
reg-tests
/
lua
/
httpclient_action.lua
blob: 9a7209cab2ec97bbc451d9d3a5e988fd2cf988bb [
file
] [
log
] [
blame
]
function
test
()
local
httpclient
=
core
.
httpclient
()
local
response
=
httpclient
:
get
{
url
=
"http://127.0.0.1"
,
headers
={
[
"Host"
]
=
{
"localhost"
}
}}
end
core
.
register_action
(
"test"
,
{
"tcp-req"
},
test
,
0
)