- From: David Graham <notifications@github.com>
- Date: Sun, 05 Apr 2015 11:52:06 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
Received on Sunday, 5 April 2015 18:52:27 UTC
If `User-Agent` is allowed to be assigned, I think the expected usage would be to pass it in with the rest of the headers for the request.
```js
fetch('/users', {
headers: {
'User-Agent': 'Web/2.0',
'Accept': 'application/json'
}
})
```
---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/37#issuecomment-89831706
Received on Sunday, 5 April 2015 18:52:27 UTC