HTTPS requests not working on iOS when running from flutter web #1193
Labels
needs-info
Additional information needed from the issue author
package:http
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
I have a web app that i developed on flutter 3.19.6 and i am currently using HTTP 1.2.1
var token = await user.getIdToken(); final http.Response response = await http.get( Uri.https(baseApiURL, '/user/${user.uid}'), headers: { 'Authorization': "Bearer $token", }, );
i am calling the http this way, but specifically on iOS when running on chrome or safari or any browser the console shows an error that the headers must not be empty. and my token gets shortened into wierd characters.
i already tested on chrome on windows, macOS and android and everything runs smoothly.
The text was updated successfully, but these errors were encountered: