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

Changed the import for HttpHeaders #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Changed the import for HttpHeaders #2

wants to merge 1 commit into from

Conversation

somupra
Copy link

@somupra somupra commented Jul 9, 2019

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
Copy link
Author

somupra commented Jul 9, 2019

@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