Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get the User-Agent header from flag instead of from the request
flag.userAgent is set from window.navigator.userAgent, which is the internal user agent set when the JSDOM instance is created. This ensures we are using the correct user agent.
- Loading branch information