On May 20, 2008, at 5:30 AM, Damien Katz wrote:

It's because we no longer use content-type to describe the programming language, which always seemed dubious to me anyway. The only language that actually had anything resembling a MIME type was javascript, and it had 2 "text/javascript" and "application/ javascript". All the others were going to be "application/lang_x", and since we don't actually use this info anywhere a MIME type would be used, it's pointless to require everyone to specify "application/ lang_x" instead of just plain "lang_x".

Also since a lot of the possible languages for a view server to use don't have IANA assigned media types we'd just be making stuff up.

-David



-Damien


On May 20, 2008, at 7:03 AM, Noah Slater wrote:

On Mon, May 19, 2008 at 07:20:20PM -0000, [EMAIL PROTECTED] wrote:
Everywhere we used 'text/javascript' or 'application/javascript', we now just
use 'javascript'

Why?

-text/javascript=%bindir%/%couchjs_command_name% %pkgdatadir%/ server/main.js +javascript=%bindir%/%couchjs_command_name% %pkgdatadir%/server/ main.js

I think this is useful as a proper media type. There may be occasions when similar media types could be used for a view server in which case we would want
the full version.

--
Noah Slater - The Apache Software Foundation <http://www.apache.org/>


Reply via email to