src attribute of script tag

John Rickman Iyonix rickman at argonet.co.uk
Fri Feb 15 23:41:01 GMT 2013


Chris Young wrote

> On Fri, 15 Feb 2013 23:46:56 +0100, François Revol wrote:

>>>> I had the same problem until I added an entry for 'applicaton/javascript'
>>>> to the MimeMap file.
>> 
>> Should we add this to the platform's hardcoded mime tables ?
>> (beos/filetype.cpp, ...)

> Probably.  I notice Michael's done RISC OS.

>> (/me wonders why it's not text/javascript but eh)

> *shrug*

from http://stackoverflow.com/questions/4101394/javascript-mime-type

... the exact bytes of the file must be preserved exactly, which makes 
it a binary application type and not technically character-based text.

-- 
John Rickman -  http://rickman.orpheusweb.co.uk/lynx



More information about the netsurf-dev mailing list