[asterisk-commits] lathama: branch 1.8 r305083 - /branches/1.8/main/http.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Jan 31 07:56:09 CST 2011
Author: lathama
Date: Mon Jan 31 07:56:05 2011
New Revision: 305083
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=305083
Log:
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
Modified:
branches/1.8/main/http.c
Modified: branches/1.8/main/http.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/main/http.c?view=diff&rev=305083&r1=305082&r2=305083
==============================================================================
--- branches/1.8/main/http.c (original)
+++ branches/1.8/main/http.c Mon Jan 31 07:56:05 2011
@@ -108,6 +108,13 @@
{ "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 {
More information about the asterisk-commits
mailing list