]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Add CSS MIME Type
authorAndrew Latham <lathama@gmail.com>
Sat, 19 Feb 2011 14:03:15 +0000 (14:03 +0000)
committerAndrew Latham <lathama@gmail.com>
Sat, 19 Feb 2011 14:03:15 +0000 (14:03 +0000)
Modern browsers are checking for the MIME Type of pages
and in some cases will not load a file if the type is
wrong.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@308329 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/http.c

index 678de06cdd8d5c8bcd7ec57eea2e445d09188667..59164d7500b63f3fafc218926edb8293c2ff7328 100644 (file)
@@ -108,6 +108,7 @@ static struct {
        { "gif", "image/gif" },
        { "html", "text/html" },
        { "htm", "text/html" },
+       { "css", "text/css" },
        { "cnf", "text/plain" },
        { "cfg", "text/plain" },
        { "bin", "application/octet-stream" },