mirror of
https://shylinux.com/x/icebergs
synced 2025-05-02 11:37:01 +08:00
opt some
This commit is contained in:
parent
3527c4275d
commit
4dc9a40470
@ -332,6 +332,9 @@ func init() {
|
||||
m.Resultv(data[ice.MSG_RESULT])
|
||||
|
||||
default:
|
||||
b, _ := ioutil.ReadAll(res.Body)
|
||||
m.Echo(string(b))
|
||||
break
|
||||
if strings.HasPrefix(res.Header.Get(ContentType), ContentHTML) {
|
||||
b, _ := ioutil.ReadAll(res.Body)
|
||||
m.Echo(string(b))
|
||||
|
Loading…
x
Reference in New Issue
Block a user