Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resp->SetHeader("Set-Cookie", "cookie=" + cookie_str);失效 #659

Open
iamclj opened this issue Dec 27, 2024 · 1 comment
Open

resp->SetHeader("Set-Cookie", "cookie=" + cookie_str);失效 #659

iamclj opened this issue Dec 27, 2024 · 1 comment

Comments

@iamclj
Copy link

iamclj commented Dec 27, 2024

libhv升级到1.3.3后,resp->SetHeader("Set-Cookie", "cookie=" + cookie_str);就无效了,其中resp就是HttpResponse*,这是什么原因。
在版本1.3.2时,是没有问题的。

@ithewei
Copy link
Owner

ithewei commented Dec 30, 2024

没看出什么原因,添加Cookie,推荐通过AddCookie接口

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants