Commit bda6cf84 authored by Administrator's avatar Administrator

Update client.go

parent f275bf7f
......@@ -103,7 +103,7 @@ func (c *client) GetWithProxy(ctx *context.UlfsaarContext, path, ip, port string
}
func (c *client) GetWithProxyAuth(ctx *context.UlfsaarContext, path, ip, port, username, password string, headers http.Header) (respHeader http.Header, statusCode int, body []byte, err error) {
urls := c.options.Address + path
urls := path
startTime := time.Now()
var stringProxUrl string
proxUrl, err := url.Parse(fmt.Sprintf("http://%s:%s@%s:%s", username, password, ip, port))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment