Open FezVrasta opened 7 years ago
I find it hard to believe that set a User-Agent header from the Browser using fetch. Is that really the case? Does AJAX (or another library) allow you to set the User-Agent header from the browser?
Nope, but since on node it works, it would be nice to document this difference between the two environments
When you run
isomorphic-fetch
from node, you can define a customUser-Agent
string. When you run it from a browser, you are not allowed to define a custom one.I think this should be documented somewhere because it can lead to confusion.