diff options
author | Andrew Latham <lathama@gmail.com> | 2011-01-31 13:57:53 +0000 |
---|---|---|
committer | Andrew Latham <lathama@gmail.com> | 2011-01-31 13:57:53 +0000 |
commit | 25691c31b35546a197155fcf11594bde7ccad066 (patch) | |
tree | 4dfb5adfb18c513e864039666e459becd1517c19 | |
parent | 324a3c1551c451dd1c6f0b93110be51400d09da3 (diff) |
Asterisk HTTP response Content-type
Address content type for BSD and other platforms
(closes issue #18456)
Reported by: alexo
Patches:
asterisk18_http.patch uploaded by alexo (license 1175)
Tested by: alexo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@305084 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | main/http.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/main/http.c b/main/http.c index 0bdf3852b..677e8c2b9 100644 --- a/main/http.c +++ b/main/http.c @@ -110,6 +110,13 @@ static struct { { "svg", "image/svg+xml" }, { "svgz", "image/svg+xml" }, { "gif", "image/gif" }, + { "html", "text/html" }, + { "htm", "text/html" }, + { "cnf", "text/plain" }, + { "cfg", "text/plain" }, + { "bin", "application/octet-stream" }, + { "sbn", "application/octet-stream" }, + { "ld", "application/octet-stream" }, }; struct http_uri_redirect { |