From 36060b779ed4b11fbf5f4ff949bf2b1fb9bf4be0 Mon Sep 17 00:00:00 2001 From: Prabhjot Singh Sethi Date: Fri, 24 Oct 2025 00:27:06 +0530 Subject: [PATCH] avoid overriding the URL path assignment avoid overriding request URL path. --- client/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/client.go b/client/client.go index f8caa5f..bc9c4ba 100644 --- a/client/client.go +++ b/client/client.go @@ -86,7 +86,7 @@ func (c *client) Do(req *http.Request) (*http.Response, error) { // Ensure the request uses the configured endpoint, not what the caller set. req.URL.Scheme = c.url.Scheme req.URL.Host = c.url.Host - req.URL.Path = c.url.Path + //req.URL.Path = c.url.Path // Add authentication headers and send the request. return c.hClient.Do(c.hGenerator.AddAuthHeaders(req))