-
-
Notifications
You must be signed in to change notification settings - Fork 876
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[BUG] Web: Refused to set unsafe header "User-Agent" #1654
Comments
Hey @d1ss0nanz, |
I've worked around this behaviour by implementing a custom |
@JaffaKetchup Why not just make the userAgentPackageName nullable? So then we can just set it to actually empty instead of 'unknown'.
flutter_map/lib/src/layer/tile_layer/tile_layer.dart Lines 299 to 301 in 9211d54
|
I guess if this is really bothering people, it may be possible just to check |
What is the bug?
There seems to be a regression in v5 that is trying to set the
User-Agent
header on web.How can we reproduce it?
Use flutter_map in web application.
Do you have a potential solution?
No response
Platforms
Flutter Web on Chrome
Severity
Minimum: Allows normal functioning
The text was updated successfully, but these errors were encountered: