Commit 7eb2f393 authored by Administrator's avatar Administrator

Update client.go

parent f19028e5
...@@ -398,7 +398,7 @@ func (c *client) Put(ctx *context.UlfsaarContext, path string, headers http.Head ...@@ -398,7 +398,7 @@ func (c *client) Put(ctx *context.UlfsaarContext, path string, headers http.Head
} }
func (c *client) Get(ctx *context.UlfsaarContext, path string, headers http.Header) (respHeader http.Header, statusCode int, body []byte, err error) { func (c *client) Get(ctx *context.UlfsaarContext, path string, headers http.Header) (respHeader http.Header, statusCode int, body []byte, err error) {
url := c.options.Address + path url := path //c.options.Address + path
startTime := time.Now() startTime := time.Now()
request := c.httpClient.R() request := c.httpClient.R()
......
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