projects
/
yazproxy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
ea4d206
)
Added core mime types
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 18 Jan 2005 10:49:22 +0000
(10:49 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 18 Jan 2005 10:49:22 +0000
(10:49 +0000)
src/yaz-proxy-config.cpp
patch
|
blob
|
history
diff --git
a/src/yaz-proxy-config.cpp
b/src/yaz-proxy-config.cpp
index
903d3dd
..
e0dbf5a
100644
(file)
--- 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.
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"},
{".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},
};
{0, "text/plain"},
{0, 0},
};