Return-Path: X-Original-To: apmail-forrest-dev-archive@www.apache.org Delivered-To: apmail-forrest-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 D68C0E4CB for ; Thu, 24 Jan 2013 21:34:19 +0000 (UTC) Received: (qmail 58931 invoked by uid 500); 24 Jan 2013 21:34:19 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 58883 invoked by uid 500); 24 Jan 2013 21:34:19 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@forrest.apache.org List-Id: Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 58876 invoked by uid 99); 24 Jan 2013 21:34:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jan 2013 21:34:19 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of williamstw@gmail.com designates 209.85.216.50 as permitted sender) Received: from [209.85.216.50] (HELO mail-qa0-f50.google.com) (209.85.216.50) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jan 2013 21:34:13 +0000 Received: by mail-qa0-f50.google.com with SMTP id cr7so726015qab.2 for ; Thu, 24 Jan 2013 13:33:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=nWb/Kbrtqt/IHygHu0DfSnvaiUAGRIBi7i/VoWiUgsw=; b=QGKUNABYk4X89WslhRP9jgVWpmCBv284ZkWRiWfpENW3EhoSuB8+KDcGo7PSxcwJ/a z3V1fkLVFrVLqt+Sx4zlYibhgrwwWe/RsYGj78M2LBxfdwmI9ejB7KbIY8PNqFPndsZf nOtdFpKD9DVT5q6b6GC9wcABv273cGwvb0oZe1fAzG08QKuvq6wKdD87Ycp75S4F78Ac fvClYBPFfwrpnGB8h3UOKbqVYxucjj7/UqA3NtU//qaKRb5LuGU4UQP20+I4LAisHJ4S qJgqsQ5xexk1cAGUZue4a2pEgRF1hsFAHr3zvRdOGsolp/m++HHXcHn/QU9pFZtl6TKv QvmA== MIME-Version: 1.0 X-Received: by 10.49.74.73 with SMTP id r9mr4103987qev.44.1359063232740; Thu, 24 Jan 2013 13:33:52 -0800 (PST) Received: by 10.49.61.226 with HTTP; Thu, 24 Jan 2013 13:33:52 -0800 (PST) In-Reply-To: References: Date: Thu, 24 Jan 2013 16:33:52 -0500 Message-ID: Subject: Re: Javascript mime type From: Tim Williams To: "dev@forrest" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Thu, Jan 24, 2013 at 4:32 PM, Tim Williams wrote: > On Thu, Jan 24, 2013 at 4:25 PM, Sjur Moshagen wrote: >> According to this page: http://stackoverflow.com/questions/4101394/javas= cript-mime-type >> and many others on the net, application/javascript is the correct answer= , but not accepted by MS IE =E2=89=A4 8. Which leaves us with text/javascri= pt. But several places (including the above) argues that leaving it empty i= s fine, and the most compatible. I have no strong opinions, though, just th= at the present mime type definitely is wrong :) > > I'd go with text/javascript - it's a reasonable default. It's worth > noting that we serve it as 'application/javascript' because that's the > default mime-type mapping for httpd[1]. Ooops.. dangling pronoun:( "we" =3D=3D forrest.apache.org :) --tim