[push-api] Object values in push messages

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