1
0
mirror of https://shylinux.com/x/icebergs synced 2025-05-03 20:07:01 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2022-06-05 17:18:23 +08:00
parent db15dfed1b
commit 8782f01ec8

View File

@ -112,8 +112,7 @@ func _spide_list(m *ice.Message, arg ...string) {
// 错误信息
if m.Warn(res.StatusCode != http.StatusOK, ice.ErrNotFound, uri, "status", res.Status) {
b, _ := ioutil.ReadAll(res.Body)
m.Debug("whhat %v", string(b))
// b, _ := ioutil.ReadAll(res.Body)
switch m.Set(ice.MSG_RESULT); res.StatusCode {
case http.StatusNotFound:
m.Warn(true, ice.ErrNotFound, uri)
@ -142,7 +141,6 @@ func _spide_body(m *ice.Message, method string, arg ...string) (io.Reader, map[s
data = append(data, url.QueryEscape(arg[i])+"="+url.QueryEscape(arg[i+1]))
}
body = bytes.NewBufferString(strings.Join(data, "&"))
m.Debug("what %v", strings.Join(data, "&"))
head[ContentType] = ContentFORM
case SPIDE_PART: