Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
bff527b6e8948a1c5e2fd7011069ef0a1cd3f67a
/
.
/
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
)