-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Response Header is missing except content-length & content-type #2105
Comments
This is a web based project so, ignore the android studio / toolchain related errors, |
On the Web, cookies are implicitly handled by the browser. All you need to do is to enable |
DioError ║ DioExceptionType.connectionError New error comes up due to this code
@AlexV525 Any solutions for this error? may be it is something related to CORS |
As the error stated:
Closing as the issue becomes unactionable. |
@AlexV525 I am sending a api request to the baceknd of the server and in the response i am getting 10 response header which also includes a cookie, but currently i am able to fetch only 2 of them (content-type, content-length). |
Package
dio
Version
5.4.0
Operating-System
Linux
Output of
flutter doctor -v
Dart Version
3.2.5
Steps to Reproduce
Try sending Cookie's from backend, then the headers are missing
Expected Result
I should get the set-cookie data from dio response headers.
Actual Result
// Response Header in Web
The text was updated successfully, but these errors were encountered: