- From: Martin Thomson <martin.thomson@gmail.com>
- Date: Mon, 12 May 2014 15:56:42 -0700
- 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 bodies. 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