List Info

Thread: Re: Why don't pack single message in array too?




Re: Why don't pack single message in array too?
country flaguser name
Australia
2007-11-05 00:20:01
d12v wrote:
> Hi, Greg,
> 
> On Oct 31, 11:02 pm, Greg Wilkins <gr...mortbay.com> wrote:
>> d12v
>>
>> It was worded that way to ease the transition from
implementations
>> that did not handle arrays.
> 
> Any implementation of JSON must handle arrays. And JSON
is declared as
> the only format used for marshaling in bayeux. That I
suppose another
> good reason to change spec as it was proposed.
> 
>> Good protocol practise is to be strict in what you
produce, but
>> forgiving in what you accept.
> 
> Absolutely.
> 
>> But on this matter, I would consider changing to
MUST be an array
>> if there was acceptance from all the main client
impls?
>>
> 
> So what is next step?


I changed the wording of the spec to say that arrays MUST be
produced
but single messages MAY be accepted.

Please check the latest version to see if it actually says
that.

cheers

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cometd-dev" group.
To post to this group, send email to cometd-devgooglegroups.com
To unsubscribe from this group, send email to
cometd-dev-unsubscribegooglegroups.com
For more options, visit this group at http://grou
ps.google.com/group/cometd-dev

Visit the cometd website at http://www.cometd.com/
-~----------~----~----~----~------~----~------~--~---


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )