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:
84434e0
)
Add css/pdf to mime types
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 6 Apr 2006 01:20:02 +0000
(
01:20
+0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 6 Apr 2006 01:20:02 +0000
(
01:20
+0000)
src/yaz-proxy-config.cpp
patch
|
blob
|
history
diff --git
a/src/yaz-proxy-config.cpp
b/src/yaz-proxy-config.cpp
index
c4c29f8
..
cccfaf7
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.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},
};