- From: Anne van Kesteren <annevk@annevk.nl>
- Date: Thu, 13 Feb 2014 10:07:45 +0000
- To: Jonas Sicking <jonas@sicking.cc>
- Cc: Arvind Jain <arvind@google.com>, Jatinder Mann <jmann@microsoft.com>, "public-web-perf@w3.org" <public-web-perf@w3.org>
On Thu, Feb 13, 2014 at 7:37 AM, Jonas Sicking <jonas@sicking.cc> wrote: > I think even better is > > boolean sendBeacon(DOMString url, optional (ArrayBufferView or Blob or > DOMString or FormData)? data = null); > > That way passing <null> as body will not send any body. With the > webidl in your proposal, explicitly passing <null> would send the > string "null" I think. That would match XMLHttpRequest. It too has the ability to send an empty byte string body or no body at all. -- http://annevankesteren.nl/
Received on Thursday, 13 February 2014 10:08:13 UTC