struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <davelnew...@gmail.com>
Subject Re: Comments in JSON
Date Wed, 13 Jul 2011 13:29:26 GMT
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 :/

Dave

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


Mime
View raw message