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 B1910E4C2 for ; Thu, 24 Jan 2013 21:32:49 +0000 (UTC) Received: (qmail 54232 invoked by uid 500); 24 Jan 2013 21:32:49 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 54191 invoked by uid 500); 24 Jan 2013 21:32:49 -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 54182 invoked by uid 99); 24 Jan 2013 21:32:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jan 2013 21:32:49 +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 (athena.apache.org: domain of williamstw@gmail.com designates 209.85.216.54 as permitted sender) Received: from [209.85.216.54] (HELO mail-qa0-f54.google.com) (209.85.216.54) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jan 2013 21:32:44 +0000 Received: by mail-qa0-f54.google.com with SMTP id p6so723336qad.20 for ; Thu, 24 Jan 2013 13:32:23 -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=3n1YOJ8nc7Wkmxozgbpj+ej6LnMRq5JUKCvUUfYlwNw=; b=zzwOLegnVEP2uTSXd4Wbw5qXUdmxHgkp5QV+mlwRGB5zSoReAV/VW6jPvJS3v3wHAU Sl6tt7XIe057kF9Tb0U/izsEvCJeCtchrNBn1GgciFEmFKlnvAbnMl2tBds59bpSJ3UY dgbhAdtH2BCb1GH8H2rHHz0B9z4yqh36k2xERQb1HG5UNRb7GFs92RwEL6CQBrKY3Cz7 DkhJgGNq6LUp6oxy5lYVqLCRIcrnfZNzIHhSFRdxD3y1IbU5g/isCMo22E0lBYiuFI/X Yh0VMmLORm7EzJcEYSdCKybCzNvRzYYHri4gdi+aNcKevj5KF2CNpRMejggYzD7nASBZ pmTQ== MIME-Version: 1.0 X-Received: by 10.49.3.234 with SMTP id f10mr4159369qef.52.1359063143690; Thu, 24 Jan 2013 13:32:23 -0800 (PST) Received: by 10.49.61.226 with HTTP; Thu, 24 Jan 2013 13:32:23 -0800 (PST) In-Reply-To: References: Date: Thu, 24 Jan 2013 16:32:23 -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:25 PM, Sjur Moshagen wrote: > According to this page: http://stackoverflow.com/questions/4101394/javasc= ript-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/javascrip= t. But several places (including the above) argues that leaving it empty is= fine, and the most compatible. I have no strong opinions, though, just tha= t 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]. --tim [1] - http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.type= s