[cups.general] mime.types - what am I missing

Michael Sweet mike at easysw.com
Wed Feb 2 07:49:39 PST 2005


Johannes Meixner wrote:
> ...
> I.e. when one wants to add a special case to an existing MIME type
> one would normally add a suffix to the existing MIME type name
> and reverse-alphabetical ordering would make sure that the
> special cases are tested before the general (fallback) cases.

True, and I hadn't thought of doing that when I implemented the
MIME type DB code.  However, it is too late to change the sort
order because many people rely on the current behavior... :(

We will be adding parameter support in CUPS 1.2 very soon, and
MIME types with parameters have priority over those that don't,
i.e.:

     application/postscript;creator=mozilla

will match before:

     application/postscript

but not before:

     application/mozilla-postscript

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Document Software          http://www.easysw.com




More information about the cups mailing list