From a3fbf957d987d92991b6e303e4aa760725db3c77 Mon Sep 17 00:00:00 2001 From: John Date: Sun, 27 May 2018 22:09:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89ghttp=E5=AE=A2=E6=88=B7?= =?UTF-8?q?=E7=AB=AF=E8=B0=83=E8=AF=95=E8=AF=AD=E5=8F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- g/net/ghttp/ghttp_client_request.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/g/net/ghttp/ghttp_client_request.go b/g/net/ghttp/ghttp_client_request.go index 47fda85af..d6a909a12 100644 --- a/g/net/ghttp/ghttp_client_request.go +++ b/g/net/ghttp/ghttp_client_request.go @@ -12,7 +12,6 @@ import ( "bytes" "strings" "net/http" - "fmt" "mime/multipart" "os" "io" @@ -125,7 +124,6 @@ func (c *Client) DoRequest(method, url string, data []byte) (*ClientResponse, er if strings.Compare("POST", strings.ToUpper(method)) == 0 { return c.Post(url, string(data)) } - fmt.Println(method) req, err := http.NewRequest(strings.ToUpper(method), url, bytes.NewReader(data)) if err != nil { return nil, err