diff options
| -rw-r--r-- | http.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -17,7 +17,7 @@ func (f *Forge) HttpPost(url string, data []byte) ([]byte, error) { var req *http.Request req, err = http.NewRequest(http.MethodPost, url, bytes.NewBuffer(data)) - log.Info("httpPost() with len", len(data), "url", url) + // log.Info("httpPost() with len", len(data), "url", url) usr, _ := user.Current() req.Header.Set("author", usr.Username) @@ -35,7 +35,7 @@ func (f *Forge) HttpPost(url string, data []byte) ([]byte, error) { return []byte("client.Do(req) error"), err } defer resp.Body.Close() - log.Info("httpPost() with len", len(data)) + // log.Info("httpPost() with len", len(data)) body, err := ioutil.ReadAll(resp.Body) if err != nil { |
