Re: Javascript mime type

Sjur Moshagen <[email protected]>
Newsgroups gmane.text.xml.forrest.devel
Message-ID <[email protected]>
Den 24. jan 2013 kl. 22:33 skrev Tim Williams:

> On Thu, Jan 24, 2013 at 4:32 PM, Tim Williams <[email protected]> wrote:
>> On Thu, Jan 24, 2013 at 4:25 PM, Sjur Moshagen <[email protected]> wrote:
>>> According to this page: http://stackoverflow.com/questions/4101394/javascript-mime-type
>>> and many others on the net, application/javascript is the correct answer, but not accepted by MS IE ≤ 8. Which leaves us with text/javascript. But several places (including the above) argues that leaving it empty is fine, and the most compatible. I have no strong opinions, though, just that the present mime type definitely is wrong :)
>> 
>> I'd go with text/javascript - it's a reasonable default.

Agrre, I'll commit.

>> 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" == forrest.apache.org :)

:)

Sjur
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.