sunty
2020-08-20 9d88c7c467f8d93af4aab9ba0b6d6c01c2ffc546
extend/util/requtil.go
@@ -3,14 +3,15 @@
import (
   "bytes"
   "encoding/json"
   "fmt"
   "github.com/ajg/form"
   "golang.org/x/tools/go/ssa/interp/testdata/src/fmt"
   "io"
   "io/ioutil"
   "net/http"
   "os"
   "strings"
   "github.com/dustin/go-humanize"
   "time"
)
const (
@@ -63,7 +64,9 @@
         request.Header.Add(key, val)
      }
   }
   client := &http.Client{}
   client := &http.Client{
      Timeout: time.Second * 60,
   }
   resp, err := client.Do(request)
   if err != nil {
      return resultBytes, err