mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-18 15:49:56 +00:00
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
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user