Skip to content

Changed the import for HttpHeaders#2

Open
somupra wants to merge 1 commit into
pbirdsall:masterfrom
somupra:logout-hotfix
Open

Changed the import for HttpHeaders#2
somupra wants to merge 1 commit into
pbirdsall:masterfrom
somupra:logout-hotfix

Conversation

@somupra

@somupra somupra commented Jul 9, 2019

Copy link
Copy Markdown

importing 'dart:_http' gave error that it can't access the private package, replacing it with 'dart:io' fixed the issue, However, authentication headers are not passed properly, printing the token gave an empty string, please help :)

importing 'dart:_http' gave error that **it can't access the private package**, replacing it with 'dart:io' fixed the issue, However, authentication headers are not passed properly, printing the token gave an empty string, please help :)
@somupra

somupra commented Jul 9, 2019

Copy link
Copy Markdown
Author

@pbirdsall Nope, actually I was passing the wrong header there, there's no problem in this approach. I've just confirmed, 'dart:io' is the correct package I guess.

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

Successfully merging this pull request may close these issues.

1 participant