Re: [fetch] Automatically set request's "Content-Type" to "application/json" for POJOs (#47)

In both spec and implementation terms, what exactly is the request when an actual string is passed in?  Should it be used as-is, with text/plain type, or should it go through JSON.stringify and get the JSON type?  Because if it's the former, that makes both spec and implementation a _lot_ more complicated.

@domenic, in the world where the JSON.stringify is done by the caller, how does the caller set the type?

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/47#issuecomment-99354433

Received on Wednesday, 6 May 2015 07:30:54 UTC