mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 04:33:05 +00:00
fix log
This commit is contained in:
@@ -2,7 +2,7 @@ local skynet = require "skynet"
|
|||||||
local httpc = require "http.httpc"
|
local httpc = require "http.httpc"
|
||||||
|
|
||||||
skynet.start(function()
|
skynet.start(function()
|
||||||
print("GET www.baidu.com")
|
print("GET baidu.com")
|
||||||
local header = {}
|
local header = {}
|
||||||
local status, body = httpc.get("baidu.com", "/", header)
|
local status, body = httpc.get("baidu.com", "/", header)
|
||||||
print("[header] =====>")
|
print("[header] =====>")
|
||||||
|
|||||||
Reference in New Issue
Block a user