W3C home > Mailing lists > Public > public-web-perf@w3.org > February 2014

Re: [agenda] Web Performance WG Teleconference #125 Agenda 2014-02-12

From: Anne van Kesteren <annevk@annevk.nl>
Date: Thu, 13 Feb 2014 10:07:45 +0000
Message-ID: <CADnb78iRt5spXkse0h5j8_6a-7DahzeFt4-c=18MHrmUD=G-pA@mail.gmail.com>
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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:04:38 UTC