[asterisk-dev] Request for new MIME type in asterisk webserver
Sean Bright
sean.bright at gmail.com
Wed Mar 21 13:50:41 MST 2007
The comment on mime type array in code says:
"Limit the kinds of files we're willing to serve up"
So I believe the intention is that, well, its supposed to limit the kinds of
files that Asterisk will serve up :)
On 3/21/07, Steven Critchfield <critch at basesys.com> wrote:
>
> On Wed, 2007-03-21 at 16:45 +0000, Tim Panton wrote:
> > On 21 Mar 2007, at 14:59, Pari Nannapaneni 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" },
> > and
> > {"jar","application/java-archive"}
>
> mmm, Wouldn't all this be better served by using the mime information
> that should be installed on your system already?
>
> Maybe that should be the proper feature request. Read and properly parse
> the /etc/mime.types file. This way feature adds do not require code
> changes.
> --
> Steven Critchfield <critch at basesys.com>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>
--
sean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20070321/ea8534c5/attachment.htm
More information about the asterisk-dev
mailing list