forked from x/icebergs
add some
This commit is contained in:
parent
37fe3b44b0
commit
6540f3f3f1
@ -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 {
|
switch res.StatusCode {
|
||||||
case http.StatusNotFound, http.StatusUnauthorized:
|
case http.StatusNotFound, http.StatusUnauthorized:
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user