On Thu, May 12, 2011 at 9:10 PM, Sven Van Caekenberghe <sven@beta9.be> wrote:

On 12 May 2011, at 20:35, laurent laffont wrote:

> I guess and represent the content type of a file. For a description of what is MIME, see
> http://en.wikipedia.org/wiki/Internet_media_type
> http://en.wikipedia.org/wiki/MIME
>
> Examples:
>
> MIMEType forFileNameReturnMimeTypesOrDefault: 'index.html'.
>
> MIMEType fromMIMEString: 'application/zip'.

However, MIMEType does not properly deal with extra parameters, as in 'text/plain;charset=utf-8'.
It also does not 'know' very much.
That is why there is a ZnMimeType.


So now that Zn is in Core, may be we should deprecate MIMEType ?

Laurent.

��

Sven