2011/7/13 Łukasz Lenart <lukasz.len...@googlemail.com>:
> 2011/7/13 Dave Newton <davelnew...@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-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to