[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#792731: cups: incorrect MIME type on cups.css



On Sun, 19 Jul 2015 12:39:36 +0200, Didier 'OdyX' Raboud <odyx@debian.org>
wrote:
> Le samedi, 18 juillet 2015, 17.34:20 Stephen Kitt a écrit :
> > I get:
> > % HEAD http://localhost:631/cups.css | grep Content-Type
> > Content-Type: application/x-csource
> > 
> > > What does this command give on your computer?
> > > $ grep -A5 application/x-csource /usr/share/cups/mime/mime.types
> > 
> > % grep -A5 application/x-csource /usr/share/cups/mime/mime.types
> > application/x-csource		c cxx cpp cc C h hpp \
> > 				printable(0,1024) + ! css + \
> > 				(string(0,/*) string(0,//)
> > 				 string(0,#include)
> > contains(0,1024,<0a>#include) \ string(0,#define)
> > contains(0,1024,<0a>#define)) text/html			html htm
> > printable(0,1024) +\
> 
> Okay. Do you happen to have mime.types or mime.convs files in /etc/cups 
> or /usr/share/cups ?

Indeed, I have rather old copies in /etc/cups:

% ls -l /etc/cups/mime.*                       
-rw-r--r-- 1 root root 4424 Jul 11  2009 /etc/cups/mime.convs
-rw-r--r-- 1 root root 6184 Aug 20  2007 /etc/cups/mime.types

Regards,

Stephen

Attachment: pgpsWaQPbMd9c.pgp
Description: OpenPGP digital signature


Reply to: