You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Much older versions of the fetch spec did not support setting the User-Agent, but it appears to have been added in ~2015: whatwg/fetch#37. Safari and Firefox both seem to support this behaviour.
I don't think this issue is important to resolve, but wanted to leave my notes here for others potentially encountering it!
The text was updated successfully, but these errors were encountered:
Thanks for documenting this issue! There's not a whole lot we can do about it, as it's a limitation on the browser itself.
As a bit of bonus information, the warning actually comes from cross-fetch. Using Chrome's native fetch results in the custom user agent being silently ignored.
1.4.1 began setting the
User-Agent
header: 53747acIt sets the header both in Node.js and browser based environments.
Chrome does not support this and will give you a warning:
The related Chrome bug is here: https://bugs.chromium.org/p/chromium/issues/detail?id=571722
Much older versions of the
fetch
spec did not support setting theUser-Agent
, but it appears to have been added in ~2015: whatwg/fetch#37. Safari and Firefox both seem to support this behaviour.I don't think this issue is important to resolve, but wanted to leave my notes here for others potentially encountering it!
The text was updated successfully, but these errors were encountered: