Re: Scripts...

On Sat, 11 May 2002, Bjoern Hoehrmann wrote:

> * Nick Kew wrote:
> >On Sat, 11 May 2002, Bjoern Hoehrmann wrote:
> >
> >> * Ville Skytt wrote:
> >> >Maybe a nitpick thingy, but I'd rather not recommend using
> >> >"text/javascript" since it is not officially registered in IANA [1].
> >> >
> >> >"application/x-javascript" would IMHO be a better, more established
> >> >choice, that's what for example Apache sends by default.  See also [2].
> >>
> >> Using private media types in a public envoirement is worse to me than
> >> using a not-yet registered type. But this is offtopic here...
> >
> >On the contrary, that's exactly what "x-[anything]" media types are for:
> >a type known to one or more Client or Server, but not registered.
>
> Yes, private media types are for use between two parties, but publishing
> on the WWW implies an agreement between you and the rest of the world.

Such an agreement is perfectly compatible with use of unregistered media
types.  All that means is that a particular resource is of no interest
to a Client that doesn't understand a particular type.  For example,
my own HyperLens application involves transferring unregistered media
types over HTTP for internal use, and also permits export of data to
certain standard formats and proprietary formats used by other software.

-- 
Nick Kew

Available for contract work - Programming, Unix, Networking, Markup, etc.

Received on Saturday, 11 May 2002 07:37:35 UTC