This commit is contained in:
Cory Bennett
2016-08-09 23:16:41 -07:00
parent f7ed1ed8d8
commit bf7f38de87
+3 -3
View File
@@ -10,8 +10,8 @@ import (
"gopkg.in/op/go-logging.v1"
"io/ioutil"
"net/http"
"net/http/httputil"
"net/http/cookiejar"
"net/http/httputil"
"net/url"
"os"
"os/exec"
@@ -210,7 +210,7 @@ func (c *Cli) makeRequest(req *http.Request) (resp *http.Response, err error) {
}
if log.IsEnabledFor(logging.DEBUG) {
out, _ := httputil.DumpRequest(req,true);
out, _ := httputil.DumpRequest(req, true)
log.Debugf("Request: %s", out)
}
@@ -231,7 +231,7 @@ func (c *Cli) makeRequest(req *http.Request) (resp *http.Response, err error) {
}
}
if log.IsEnabledFor(logging.DEBUG) {
out, _ := httputil.DumpResponse(resp,true);
out, _ := httputil.DumpResponse(resp, true)
log.Debugf("Response: %s", out)
}
return resp, nil