From 6540f3f3f17601041d113a00de7c795f14449f6e Mon Sep 17 00:00:00 2001 From: shy Date: Tue, 3 Dec 2024 22:45:07 +0800 Subject: [PATCH] add some --- base/web/spide.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/web/spide.go b/base/web/spide.go index 4cad358d..6e70dc81 100644 --- a/base/web/spide.go +++ b/base/web/spide.go @@ -92,7 +92,7 @@ func _spide_show(m *ice.Message, name string, arg ...string) { } }) }) - if m.WarnNotValid(res.StatusCode != http.StatusOK && res.StatusCode != http.StatusCreated, uri, cli.STATUS, res.Status) { + if m.WarnNotValid(res.StatusCode != http.StatusOK && res.StatusCode != http.StatusCreated && res.StatusCode != http.StatusNoContent, uri, cli.STATUS, res.Status) { switch res.StatusCode { case http.StatusNotFound, http.StatusUnauthorized: return