Hi Evgeny,

There seems to be quite a confusion for Javascript media types. See this
blog post:
http://annevankesteren.nl/2005/02/javascript-mime-type

Anyway, I've added a new TEXT_JAVASCRIPT constant in SVN trunk. Just keep in
mind that the MetadataService uses APPLICATION_JAVASCRIPT by default for the
".js" extension.

Best regards,
Jerome  

> -----Message d'origine-----
> De : news [mailto:[EMAIL PROTECTED] De la part de Evgeny Shepelyuk
> Envoyé : jeudi 14 février 2008 22:02
> À : [email protected]
> Objet : MediaType constant for text/javascript
> 
> Is there any big reason not to including this Content Type to 
> MediaType class 
> as a constant ?
> 

Reply via email to