Skip to content

Commit

Permalink
chore: update cookies convertion
Browse files Browse the repository at this point in the history
Signed-off-by: Valery Piashchynski <[email protected]>
  • Loading branch information
rustatian committed Jan 13, 2025
1 parent c1775f7 commit f3e7b93
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions handler/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ func convertCookies(headers map[string]string) map[string]*httpV1proto.HeaderVal
resp[k] = &httpV1proto.HeaderValue{}
}

for _, vv := range v {
resp[k].Value = append(resp[k].Value, byte(vv))
}
resp[k].Value = append(resp[k].Value, []byte(v)...)
}

return resp
Expand Down

0 comments on commit f3e7b93

Please sign in to comment.