[#142] Fix multipart-objects download
All checks were successful
/ DCO (pull_request) Successful in 1m5s
/ Vulncheck (pull_request) Successful in 1m20s
/ Builds (pull_request) Successful in 1m21s
/ Lint (pull_request) Successful in 1m35s
/ Tests (pull_request) Successful in 1m11s

Signed-off-by: Nikita Zinkevich <n.zinkevich@yadro.com>
This commit is contained in:
Nikita Zinkevich 2024-09-17 23:35:26 +03:00 committed by Alexey Vanin
parent f8ae6761ce
commit d7948a9d36
14 changed files with 550 additions and 73 deletions

View file

@ -30,12 +30,12 @@ func (c *httpCarrier) Set(key string, value string) {
func (c *httpCarrier) Keys() []string {
dict := make(map[string]interface{})
c.r.Request.Header.VisitAll(
func(key, value []byte) {
func(key, _ []byte) {
dict[string(key)] = true
},
)
c.r.Response.Header.VisitAll(
func(key, value []byte) {
func(key, _ []byte) {
dict[string(key)] = true
},
)