-
Notifications
You must be signed in to change notification settings - Fork 382
About http POST Response.headers set-cookie #362
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
Comments
Ran into the same exact issue. My solution right now is to split the |
I've tested with the only one set-cookie header. The problem is the same. Could someone please provide any fixes? |
io_client.dart
Dear developers,
Thanks! |
I split cookies
|
This is a duplicate of the issue #24, which has been fixed. |
api server: Django3.0.2
client test: dio: 3.0.8 and http: ^0.12.0
I test login , code like this:
http response.headers
dio response.headers
I found dio response.headers have two set-cookie, but http response.headers only have one! the bug cause by
SameSite=Lax,sessionid=i61c6ywod07tnr0k0lvz3tvimc7zrgyv; ''
in http response.headers, this caused me not to parse set-cookie correctlyI test use chrome browser, response.headers follow and have two Set-Cookie:
The text was updated successfully, but these errors were encountered: