From: Adam Dickmeiss Date: Thu, 6 Apr 2006 01:20:02 +0000 (+0000) Subject: Add css/pdf to mime types X-Git-Tag: YAZPROXY.1.1.0.2~15 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=08f7a81cd0645d2ae9609f672629ea94c7d2e2ad;p=yazproxy-moved-to-github.git Add css/pdf to mime types --- diff --git a/src/yaz-proxy-config.cpp b/src/yaz-proxy-config.cpp index c4c29f8..cccfaf7 100644 --- a/src/yaz-proxy-config.cpp +++ b/src/yaz-proxy-config.cpp @@ -1,4 +1,4 @@ -/* $Id: yaz-proxy-config.cpp,v 1.27 2006-04-06 01:16:55 adam Exp $ +/* $Id: yaz-proxy-config.cpp,v 1.28 2006-04-06 01:20:02 adam Exp $ Copyright (c) 1998-2006, Index Data. This file is part of the yazproxy. @@ -536,6 +536,8 @@ const char *Yaz_ProxyConfig::check_mime_type(const char *path) {".jpg", "image/jpeg"}, {".png", "image/png"}, {".gif", "image/gif"}, + {".css", "text/css"}, + {".pdf", "application/pdf"}, {0, "text/plain"}, {0, 0}, };