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

cookie设置无效,原生curl设置可以正常返回 #39

Open
454592673 opened this issue Jul 11, 2024 · 1 comment
Open

cookie设置无效,原生curl设置可以正常返回 #39

454592673 opened this issue Jul 11, 2024 · 1 comment

Comments

@454592673
Copy link

使用httpclient时
image
image
一样的cookie,但是返回结果不正常
使用curl时
image
image
image

@454592673
Copy link
Author

后面用$client->setHeader('Cookie','cookie',false)解决了,是不是合并header和cookie时会将cookie转小写呢

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

1 participant