We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I report this exception when I use the following request:
final http.Response response = await http.get( url, headers: <String,String>{ HttpHeaders.contentTypeHeader: 'application/json; charset=UTF-8', HttpHeaders.authorizationHeader:"Bearer " + token, }, ); print('response=' + response.body);
[VERBOSE-2:ui_dart_state.cc(157)] Unhandled Exception: Invalid header field name, with 44 #0 IOClient.send (package:http/src/io_client.dart:62:7) #1 BaseClient._sendUnstreamed (package:http/src/base_client.dart:91:38) #2 BaseClient.get (package:http/src/base_client.dart:27:7) #3 get. (package:http/http.dart:46:36)
The text was updated successfully, but these errors were encountered:
Hi @ZXY888, please check this issue
Please, share more related code statements.
Sorry, something went wrong.
There is not enough context to debug this. Could you provide a complete reproduction example.
No branches or pull requests
I report this exception when I use the following request:
[VERBOSE-2:ui_dart_state.cc(157)] Unhandled Exception: Invalid header field name, with 44
#0 IOClient.send (package:http/src/io_client.dart:62:7)
#1 BaseClient._sendUnstreamed (package:http/src/base_client.dart:91:38)
#2 BaseClient.get (package:http/src/base_client.dart:27:7)
#3 get. (package:http/http.dart:46:36)
The text was updated successfully, but these errors were encountered: