> 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
Thnx a lot! The main need was to have this constant to expose it as "Variant" in my Resource class, cuz Prototype JS sends this content type as one of accepted.