W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2014

[push-api] Object values in push messages

From: Martin Thomson <martin.thomson@gmail.com>
Date: Mon, 12 May 2014 15:56:42 -0700
Message-ID: <CABkgnnUxWSnzrKtBvvzd8DbQ8jk_iKv98ywWH0S_qnCNqh_3uA@mail.gmail.com>
To: "public-webapps@w3.org" <public-webapps@w3.org>
Cc: EDUARDO FULLEA CARRERA <efc@tid.es>, bs3131@att.com, dougt@mozilla.com
The current editors draft of the push API includes an `Object` in the
PushMessage class.

This assumes a great deal about the nature of the contents of pushed
messages.  I think that arbitrary data is more appropriate for this
channel.  To that end, I propose that the API be made congruent with
the XmlHTTPRequest API (or whatever folks who are working on that
might wish XHR looked like) so that pushed messages can contain MIME

I think that this offers applications more flexibility.  For instance,
there are limitations on what can be pushed efficiently, and an
application that aims to maximize the value of a push might want to
push a binary blob.
Received on Monday, 12 May 2014 22:57:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:24 UTC