Return-Path: X-Original-To: apmail-struts-dev-archive@www.apache.org Delivered-To: apmail-struts-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8FDF76320 for ; Wed, 13 Jul 2011 13:29:56 +0000 (UTC) Received: (qmail 60457 invoked by uid 500); 13 Jul 2011 13:29:55 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 60426 invoked by uid 500); 13 Jul 2011 13:29:55 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 60418 invoked by uid 99); 13 Jul 2011 13:29:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2011 13:29:55 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of davelnewton@gmail.com designates 74.125.83.48 as permitted sender) Received: from [74.125.83.48] (HELO mail-gw0-f48.google.com) (74.125.83.48) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2011 13:29:48 +0000 Received: by gwj22 with SMTP id 22so3333795gwj.35 for ; Wed, 13 Jul 2011 06:29:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=9FgjifbN35r9r5+G0idbjIF9smgD7JKCknKrK220hPk=; b=Djfc/rGxe7uleHJ5FAWDq/Rj5cbIitX02sfijdNmAgjv7YoTH5SnMWSsN0KQNjEBHR Jm07ouZHn5PbP7dlcdU6Y44xG7lMNyiBGZDqTp9CzF5pb2rdic5zZxZoYMaJzvsRzEhK W7VAQwmSnfY2Jxs9ZWesfTr3t8MsNwjWV1MVA= MIME-Version: 1.0 Received: by 10.100.236.1 with SMTP id j1mr1045653anh.108.1310563767866; Wed, 13 Jul 2011 06:29:27 -0700 (PDT) Received: by 10.100.151.3 with HTTP; Wed, 13 Jul 2011 06:29:26 -0700 (PDT) In-Reply-To: References: <4E187509.3080201@Newfield.org> <4E1911EF.5000603@Newfield.org> <4E19E3FC.5050006@Newfield.org> <34BFEEA9-DB38-46A0-A4E0-C7853C3E2DA2@it-neering.net> <4E1D944A.40506@Newfield.org> Date: Wed, 13 Jul 2011 09:29:26 -0400 Message-ID: Subject: Re: Comments in JSON From: Dave Newton To: Struts Developers List Content-Type: text/plain; charset=ISO-8859-1 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