From: Adam Dickmeiss Date: Tue, 18 Jan 2005 10:49:22 +0000 (+0000) Subject: Added core mime types X-Git-Tag: YAZPROXY.0.9~9 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=d2c4cf45aa3c566c99be2dc305e86371e59b509d;p=yazproxy-moved-to-github.git Added core mime types --- diff --git a/src/yaz-proxy-config.cpp b/src/yaz-proxy-config.cpp index 903d3dd..e0dbf5a 100644 --- a/src/yaz-proxy-config.cpp +++ b/src/yaz-proxy-config.cpp @@ -1,4 +1,4 @@ -/* $Id: yaz-proxy-config.cpp,v 1.12 2004-12-13 20:52:33 adam Exp $ +/* $Id: yaz-proxy-config.cpp,v 1.13 2005-01-18 10:49:22 adam Exp $ Copyright (c) 1998-2004, Index Data. This file is part of the yaz-proxy. @@ -461,6 +461,10 @@ const char *Yaz_ProxyConfig::check_mime_type(const char *path) {".xsl", "text/xml"}, {".tkl", "text/xml"}, {".xsd", "text/xml"}, + {".html", "text/html"}, + {".jpg", "image/jpeg"}, + {".png", "image/png"}, + {".gif", "image/gif"}, {0, "text/plain"}, {0, 0}, };