From 861e993a7ee16306a015412e5342dde48e41cb0e Mon Sep 17 00:00:00 2001 From: Omer Akram Date: Sun, 4 Dec 2022 03:44:53 +0500 Subject: [PATCH] allow store to use http query params in requests --- remotehttp.go | 1 + 1 file changed, 1 insertion(+) diff --git a/remotehttp.go b/remotehttp.go index f0834f8..5926c13 100644 --- a/remotehttp.go +++ b/remotehttp.go @@ -174,6 +174,7 @@ retry: // GetObject reads and returns an object in the form of []byte from the store func (r *RemoteHTTPBase) GetObject(name string) ([]byte, error) { u, _ := r.location.Parse(name) + u.RawQuery = r.location.Query().Encode() statusCode, responseBody, err := r.IssueRetryableHttpRequest("GET", u, func() io.Reader { return nil }) if err != nil { return nil, err