add request close
This commit is contained in:
parent
16859fc78e
commit
2e315b1b52
|
@ -299,6 +299,7 @@ func setTempCookieRequest(req *http.Request, wf *Workflow) {
|
|||
func (wf *Workflow) Execute() (*Response, error) {
|
||||
|
||||
req := buildBodyRequest(wf)
|
||||
defer req.Body.Close()
|
||||
|
||||
setHeaderRequest(req, wf)
|
||||
setTempCookieRequest(req, wf)
|
||||
|
|
Loading…
Reference in New Issue
Block a user