Looking over the [Wave protocol spec][1], it appears that they're
using XMPP which has no entry in the /etc/mime.types on my system, but
does have application/xmpp+xml mentioned in RFC3293. Which leaves us
with absolutely nothing in terms of a MIME type for protocol buffers.
One thing to note is that there's nothing preventing a single
organization from adopting a MIME type for use by only its systems,
especially if the services never see the light of day outside of that
organization. On the other hand, it would be nice to have a commonly
accepted MIME type for the sake of interoperability.
If we're going to be flinging suggestions at the wall to see if
anything would stick, how about something like this:
Content-Type: application/vnd.google.protobuf;
proto=com.example.SomeMessage
The above accomplishes the two important goals: (a) specify that the
message body is serialized using Protocol Buffers; and (b) specify
the .proto package & message used. If, for some reason, the .proto
specification is not important (e.g. the receiving system will just
pass this message along unmolested), the "proto=" parameter is
optional and can be omitted.
What does everyone think?
[1]:
http://www.waveprotocol.org/draft-protocol-specs/draft-protocol-spec
On Aug 19, 4:04 pm, Kenton Varda <
ken...@google.com> wrote:
> Nope, there hasn't been any off-list discussion.
> Personally I have no opinion on the matter since it doesn't affect anything
> that I do with protocol buffers. However, the Google Wave people -- who are
> developing an open-source protocol that will use protocol buffers -- seem to
> care about this and might be submitting an official registration. You might
> talk to them about it.
>
>
http://www.waveprotocol.org/
>
> On Mon, Aug 17, 2009 at 10:01 PM, M. David Peterson <
xmlhac...@gmail.com>wrote:
> > Email: m.da...@3rdandUrban.com |
m.da...@amp.fm