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

flutter web empty response header #811

Closed
1 task
mhalizadeh opened this issue May 30, 2020 · 3 comments
Closed
1 task

flutter web empty response header #811

mhalizadeh opened this issue May 30, 2020 · 3 comments

Comments

@mhalizadeh
Copy link

mhalizadeh commented May 30, 2020

New Issue Checklist

  • I have searched for a similar issue in the project and found none

Issue Info

Info Value
Platform Name flutter web
Flutter Version Channel beta, 1.18.0-11.1.pre, on Linux
Dio Version ^3.0.9
Android Studio / Xcode Version Android Studio (version 4.0)
Repro rate all the time (100%)
Repro with our demo prj
Demo project link

Issue Description and Steps

hi everyone
I have a problem with response headers in POST request in web version.
response header is empty
but in google chrome network inspect everything is fine

flutter doctor output

`[✓] Flutter (Channel beta, 1.18.0-11.1.pre, on Linux, locale en_US.UTF-8)
• Flutter version 1.18.0-11.1.pre at /home/mhalizadeh/Android/flutter.beta
• Framework revision 2738a1148b (2 weeks ago), 2020-05-13 15:24:36 -0700
• Engine revision ef9215ceb2
• Dart version 2.9.0 (build 2.9.0-8.2.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /home/mhalizadeh/Android/Sdk
• Platform android-29, build-tools 29.0.2
• ANDROID_HOME = /home/mhalizadeh/Android/Sdk
• Java binary at: /opt/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.

[✓] Chrome - develop for the web
• CHROME_EXECUTABLE = google-chrome-stable

[✓] Android Studio (version 4.0)
• Android Studio at /opt/android-studio
• Flutter plugin version 44.0.2
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build
1.8.0_242-release-1644-b3-6222593)

[✓] Connected device (3 available)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 9
(API 28) (emulator)
• Web Server • web-server • web-javascript • Flutter Tools
• Chrome • chrome • web-javascript • Google Chrome
• No issues found!
`

@stale
Copy link

stale bot commented Jul 2, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is still an issue, please make sure it is up to date and if so, add a comment that this is still an issue to keep it open. Thank you for your contributions.

@stale stale bot added the stale label Jul 2, 2020
@stale stale bot closed this as completed Jul 10, 2020
@temirfe
Copy link

temirfe commented Aug 13, 2020

Have the same problem, except in my case there is only 'content-type' in response headers. I need X-Pagination-.. info. Works fine with android device. dio 3.0.9

@janek515
Copy link

@temirfe did you manage to find the cause?

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

3 participants