With package https://pub.dev/packages/http I can send post request with await http.post()
and get http.Response
which have Map parameter headers.
Problem is that that header variable returns only part of response headers like {cache-control: private, content-length: 1159, content-type: text/csv}
but request is always having more than that
but it isn't shown in flutter
Request is not multipart, but classic post request with version http: ^0.13.3
[✓] Flutter (Channel stable, 2.5.1, on Manjaro Linux 5.12.19-1-MANJARO, locale en_US.UTF-8)
• Flutter version 2.5.1 at ---
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision ffb2ecea52 (6 days ago), 2021-09-17 15:26:33 -0400
• Engine revision b3af521a05
• Dart version 2.14.2
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at ---
• Platform android-30, build-tools 30.0.3
• Java binary at: ---
• 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 = ---
[✓] Android Studio (version 4.1)
• Android Studio at ---
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
[✓] Connected device (1 available)
• Chrome (web) • chrome • web-javascript • Chromium 93.0.4577.82 snap
• No issues found!