[whatwg/fetch] TypeError new Headers(obj) (#300)

Works:
```javascript
var gh_headers = new window.Headers()
gh_headers.append('Accept', 'application/vnd.github.v3.html')
```

Doesn't Work:
```javascript
var gh_headers = new window.Headers({ 'Accept': 'application/vnd.github.v3.html' })
// Uncaught TypeError: Failed to construct 'Headers': Invalid value
```

Am I missing something?

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/300

Received on Saturday, 7 May 2016 01:10:02 UTC