- From: Anne van Kesteren <notifications@github.com>
- Date: Wed, 06 May 2015 00:38:36 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
Received on Wednesday, 6 May 2015 07:39:06 UTC
@bzbarsky, my idea was that if you pass in a string you'd get the JSON treatment. It's somewhat appealing to do since we also have `json()` and it would make a likely common case even more trivial. I disagree with @domenic that `Content-Type` defaulting based on a specific object (not a stream or `ArrayBuffer`, mind you) is bad. The developer still has full control over the `Content-Type` header either way. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/47#issuecomment-99356082
Received on Wednesday, 6 May 2015 07:39:06 UTC