From 0bda475dc32b80b275769b2ccc321f53bb691505 Mon Sep 17 00:00:00 2001 From: Edbert Linardi Date: Mon, 11 Sep 2023 16:02:54 -0700 Subject: [PATCH] Fix http client requestURI (#317) --- services/httpoverrpc/client/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/httpoverrpc/client/utils.go b/services/httpoverrpc/client/utils.go index a1fef6ab..db34e80c 100644 --- a/services/httpoverrpc/client/utils.go +++ b/services/httpoverrpc/client/utils.go @@ -125,7 +125,7 @@ func (c *HTTPTransporter) RoundTrip(req *http.Request) (*http.Response, error) { } reqPb := &pb.HostHTTPRequest{ Request: &pb.HTTPRequest{ - RequestUri: req.URL.Path, + RequestUri: req.URL.RequestURI(), Method: req.Method, Headers: httpHeaderToPbHeader(&req.Header), Body: body,