From 044b0b1edd511f1b53ab4b7567276f4f984d55dd Mon Sep 17 00:00:00 2001 From: dr-frmr Date: Tue, 26 Mar 2024 16:21:44 -0600 Subject: [PATCH] fix: insert headers even if they're set-cookie --- kinode/src/http/server.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kinode/src/http/server.rs b/kinode/src/http/server.rs index e7683f67..4b96fa62 100644 --- a/kinode/src/http/server.rs +++ b/kinode/src/http/server.rs @@ -706,9 +706,8 @@ async fn http_handler( } } } - } else { - existing_headers.insert(header_name.to_owned(), header_value.to_owned()); } + existing_headers.insert(header_name.to_owned(), header_value.to_owned()); } Ok(response) }