2009/12/10 Pavel Shramov <[email protected]> > On Thu, Dec 10, 2009 at 05:06:09PM +0100, Romain François wrote: > > > I'm using method name encoded in query part of URL like > /base/url?Service.Method > > > > That seems odd. Why not /base/url?service=Service&method=Method instead ? > For simplicity (from my point of view). Query string is here only to > identify method > to call and not to pass parameters to it. So why to bother? >
Because it's a de-facto standard that the query is a set of name/value pairs. Following this standard is likely to avoid problems integrating with other HTTP-based software. -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
