Merge pull request #289 from kinode-dao/dr/http-fix-cookie-clearing

fix: insert headers even if they're set-cookie
This commit is contained in:
doria 2024-03-28 10:49:36 -06:00 committed by GitHub
commit 12a4908bb6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)
}