On Mon, Mar 09, 2009 at 02:11:54PM -0700, Marc Gravell wrote: > As part of ongoing work looking at RPC (over a range of transports), > one thing that keeps cropping up is sending messages via a RESTful API > over http[s] (so the method to invoke it part of the URI, with the > message as the body); pretty trivial to do, but I wonder: is there any > common MIME type that anyone has used for such? Or just application/ > octet-stream? I'm using application/x-protobuf in HTTP RPC to know when PB is used (also application/json is supported for non-pb applications).
If You are interested in python implementation take a look at [1, 2] Pavel -- [1] http://grid.pp.ru/wiki/pbufrpc [2] http://grid.pp.ru/git/?p=psha/pbufrpc/.git --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to protobuf@googlegroups.com To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/protobuf?hl=en -~----------~----~----~----~------~----~------~--~---