- From: Ilya Grigorik <notifications@github.com>
- Date: Mon, 28 Sep 2015 22:30:52 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
Received on Tuesday, 29 September 2015 05:31:22 UTC
Having a case for auto-encode to JSON would be really helpful for Beacon API. As of right now, there is no way to beacon a JSON payload [via Beacon API](https://w3c.github.io/beacon/#sec-sendBeacon-method)... You can JSON.stringify the payload yourself, but then the Content-Type is set as plain text; there is no way to override the content-type. I'd love to see this reopened. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/47#issuecomment-143948846
Received on Tuesday, 29 September 2015 05:31:22 UTC