struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Grobmeier <grobme...@gmail.com>
Subject Re: Comments in JSON
Date Wed, 13 Jul 2011 14:04:52 GMT
2011/7/13 Ɓukasz Lenart <lukasz.lenart@googlemail.com>:
> 2011/7/13 Dave Newton <davelnewton@gmail.com>:
>> On Wed, Jul 13, 2011 at 9:08 AM, Christian Grobmeier wrote:
>>> For the default value I would just avoid "application" before the
>>> slash, because I have experienced that the file is downloaded then.
>>> This cannot be easily spotted if you have jquery as a frontend.
>>> Anything with "text/" before the slash is acceptable
>>
>> Except that "application/json" is actually the standard as per RFC
>> 4627... *sigh*
>>
>> I'm irritated that a bunch of non-text stuff got wedged under text/*,
>> but not much to be done about it now, I suppose. Even the usual "be
>> strict when sending, loose when receiving" doesn't really work :/
>
> I think, it's just in case of wrapped in comments JSON ...

Exact. Because with comments it cannot be treated as application/json

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message