From f3e7b93a6df191678873f2aaf5b91a9a709434d4 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Mon, 13 Jan 2025 21:39:46 +0100 Subject: [PATCH] chore: update cookies convertion Signed-off-by: Valery Piashchynski --- handler/convert.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/handler/convert.go b/handler/convert.go index f0cd4a5..6312fd5 100644 --- a/handler/convert.go +++ b/handler/convert.go @@ -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