/*
- * $Id$
- *
* This is the MIME parser for Citadel.
*
- * Copyright (c) 1998-2007 by the citadel.org development team.
+ * Copyright (c) 1998-2010 by the citadel.org development team.
* This code is distributed under the GNU General Public License v3.
*
*/
return "text/plain";
else if ((len > 3) && !strncasecmp(&what[len - 4], ".css", 4))
return "text/css";
+ else if ((len > 3) && !strncasecmp(&what[len - 4], ".htc", 4))
+ return "text/x-component";
else if ((len > 3) && !strncasecmp(&what[len - 4], ".jpg", 4))
return "image/jpeg";
else if ((len > 3) && !strncasecmp(&what[len - 4], ".png", 4))