The recommend content-type is 'applicacion/javascript' or
'application/ecmascript'
'text/javascript' and 'text/ecmascript' are obsolete

http://www.rfc-editor.org/rfc/rfc4329.txt

2009/7/6 Miguel Beltran R. <[email protected]>

> If use in my code (using zope)
> response.setHeader('content-type', 'applicaction/x-javascript')
>
> exists some differences to
> response.setHeader('content-type', 'text/javascript')
>
> I mean, to the browser really _think_ what it the same?
>
> Another question.
> If my server say what "myjavascript.js" is 'applicaction/x-javascript' and
> me html code is
>
> <script src="myjavascript.js" type="text/javascript"></script>
>
> have some problem?
>
> is different to FF or IE or Op?
>
> Sorry by Off-Topic
>
>
>
> --
> ________________________________________
> Lo bueno de vivir un dia mas
> es saber que nos queda un dia menos de vida
>



-- 
________________________________________
Lo bueno de vivir un dia mas
es saber que nos queda un dia menos de vida

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to