pretenderjs / FakeXMLHttpRequest

A fake XMLHttpRequest object for testing in browsers
MIT License
65 stars 46 forks source link

`User-agent` is no longer forbidden #70

Open IanVS opened 1 year ago

IanVS commented 1 year ago

As per the spec, the user agent header is not forbidden, but this package still flags it as such and throws an error.