清楚log的调试打印残留的代码

This commit is contained in:
huangsimin 2018-10-26 14:40:43 +08:00
parent 730e3462f6
commit 1c6f19a23c

View File

@ -1,7 +1,6 @@
package requests package requests
import ( import (
"log"
"net/http" "net/http"
"net/url" "net/url"
"regexp" "regexp"
@ -273,7 +272,6 @@ func (wf *Workflow) Execute() (*Response, error) {
if wf.session.auth != nil { if wf.session.auth != nil {
req.SetBasicAuth(wf.session.auth.User, wf.session.auth.Password) req.SetBasicAuth(wf.session.auth.User, wf.session.auth.Password)
} }
log.Println(req.Header)
resp, err := wf.session.client.Do(req) resp, err := wf.session.client.Do(req)
if err != nil { if err != nil {