请求增加状态码支持
Closed this issue · 1 comments
gyje commented
请求增加状态码支持
EddieIvan01 commented
nic.Response
内嵌了http.Response
结构体,你可以这样获取状态码
resp, _ := nic.Get(url, nil)
println(resp.StatusCode)
Closed this issue · 1 comments
nic.Response
内嵌了http.Response
结构体,你可以这样获取状态码
resp, _ := nic.Get(url, nil)
println(resp.StatusCode)