From d2c4cf45aa3c566c99be2dc305e86371e59b509d Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 18 Jan 2005 10:49:22 +0000 Subject: [PATCH] Added core mime types --- src/yaz-proxy-config.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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}, }; -- 1.7.10.4