Samji
10-24-2006, 01:31 PM
Hello everyone.
I have been working for JavaScript for a little while now and have been wondering which is the correct or recommended MIME type to refer to it as:
text/javascript
or
application/x-javascript
I have been using text/javascript up to now, but I have noticed that on GNOME desktop JS files are listed as having the MIME type application/x-javascript.
Which should I use? Thanks in advance. ;)
I have been working for JavaScript for a little while now and have been wondering which is the correct or recommended MIME type to refer to it as:
text/javascript
or
application/x-javascript
I have been using text/javascript up to now, but I have noticed that on GNOME desktop JS files are listed as having the MIME type application/x-javascript.
Which should I use? Thanks in advance. ;)