清楚log的调试打印残留的代码
This commit is contained in:
parent
730e3462f6
commit
1c6f19a23c
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user