[asterisk-dev] Request for new MIME type in asterisk webserver
Matthew Rubenstein
email at mattruby.com
Wed Mar 21 11:44:24 MST 2007
We should discuss this feature in the bugs site, but it's better to
factor the MIME types list into a (runtime reloadable) config file,
perhaps as an override to a system MIME types file,
like /etc/mime.types .
On Wed, 2007-03-21 at 09:30 -0700, asterisk-dev-request at lists.digium.com
wrote:
> Date: Wed, 21 Mar 2007 12:29:55 -0400
> From: "Sean Bright" <sean.bright at gmail.com>
> Subject: Re: [asterisk-dev] Request for new MIME type in asterisk
> webserver
> To: "Asterisk Developers Mailing List" <asterisk-dev at lists.digium.com>
> Message-ID:
> <3792607a0703210929q6816a095o328bf1b6bbfb5d63 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Feel free to add this code to your own local install of Asterisk. If
> you
> would like this included in the Asterisk distribution, you should
> probably
> open a feature request on Mantis and submit it there
> (http://bugs.digium.com
> ).
>
> On 3/21/07, Pari Nannapaneni <pari at digium.com> wrote:
> >
> > Hi all,
> > Can some one please add the following mime type in asterisk
> webserver.
> >
> > http.c
> > -------
> > mimetypes[] = {
> > { "png", "image/png" },
> > { "jpg", "image/jpeg" },
> > { "js", "application/x-javascript" },
> > { "wav", "audio/x-wav" },
> > { "mp3", "audio/mpeg" },
> > + { "svg", "image/svg+xml" },
> > };
> >
> >
> > thanks,
> > Pari
--
(C) Matthew Rubenstein
More information about the asterisk-dev
mailing list