mirror of
https://gitee.com/openLuat/LuatOS
synced 2025-08-17 22:18:03 +08:00
del:http去掉两个测试demo
This commit is contained in:
parent
23c2e8fbe9
commit
c77aa11aee
|
@ -121,16 +121,11 @@ sys.taskInit(function()
|
|||
|
||||
while 1 do
|
||||
-- 最普通的Http GET请求
|
||||
-- local code, headers, body = http.request("GET", "https://yanqiyu.info/").wait()
|
||||
-- sys.wait(100)
|
||||
-- local code, headers, body = http.request("GET", "https://www.air32.cn/").wait()
|
||||
-- log.info("http.get", code, headers, body)
|
||||
-- local code, headers, body = http.request("GET", "https://mirrors6.tuna.tsinghua.edu.cn/", nil, nil, {ipv6=true}).wait()
|
||||
-- log.info("http.get", code, headers, body)
|
||||
-- sys.wait(100)
|
||||
-- local code, headers, body = http.request("GET", "https://www.baidu.com/").wait() -- 留意末尾的.wait()
|
||||
-- log.info("http.get", code, headers, body)
|
||||
-- sys.wait(100)
|
||||
-- local code, headers, body = http.request("GET", "https://www.luatos.com/").wait()
|
||||
-- log.info("http.get", code, headers, body)
|
||||
-- sys.wait(100)
|
||||
|
|
Loading…
Reference in New Issue
Block a user