Re: The interpretation of script

On 18.01.2011 00:16, John Cowan wrote:
> Julian Reschke scripsit:
>
>> text/javascript is "code". application/json is not. I don't think we can
>> depend on the type name (as opposed to type/subtype) alone.
>
> Sure, I never meant otherwise.  Similarly, application/xml is data,
> application/xslt+xml is code.  "Media type" means the whole thing: type,
> subtype, and parameters: see RFC 4288.

Ah.

So how do you deal with unknown types?

Best regards, Julian

Received on Tuesday, 18 January 2011 07:53:41 UTC