mirror of
https://shylinux.com/x/icebergs
synced 2025-05-02 03:29:25 +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])
|
m.Resultv(data[ice.MSG_RESULT])
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
b, _ := ioutil.ReadAll(res.Body)
|
||||||
|
m.Echo(string(b))
|
||||||
|
break
|
||||||
if strings.HasPrefix(res.Header.Get(ContentType), ContentHTML) {
|
if strings.HasPrefix(res.Header.Get(ContentType), ContentHTML) {
|
||||||
b, _ := ioutil.ReadAll(res.Body)
|
b, _ := ioutil.ReadAll(res.Body)
|
||||||
m.Echo(string(b))
|
m.Echo(string(b))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user