Hi Vicente,

>                         ".jpg.jpeg\0" "image/jpeg\0"
>                         ".gif\0"      "image/gif\0"
>                         ".png\0"      "image/png\0"
> +                       ".svg\0"      "image/svg+xml\0"
>                         /* .css line must be after .c line */
>                         ".css\0"      "text/css\0"
>                         ".wav\0"      "audio/wav\0"

There's a httpd.conf syntax for adding custom extensions.

That said, I think SVG *can* be more popular than, e.g. WAV, QT, MOV
and MIDI, so I think as it is, it is a good incorporation. (But
there's missing js!)

I think the embedded list should consist of just common extensions
(txt, htm(l), jp(e)g, gif, png, css, js) and everything else is
use-case dependant. Maybe an example httpd.conf should be added to
'examples' folder? Just my opinion.

Current full list, for context:
> ".txt.h.c.cc.cpp\0" "text/plain\0"
> ".htm.html\0" "text/html\0"
> ".jpg.jpeg\0" "image/jpeg\0"
> ".gif\0"      "image/gif\0"
> ".png\0"      "image/png\0"
> ".css\0"      "text/css\0"
> ".wav\0"      "audio/wav\0"
> ".avi\0"      "video/x-msvideo\0"
> ".qt.mov\0"   "video/quicktime\0"
> ".mpe.mpeg\0" "video/mpeg\0"
> ".mid.midi\0" "audio/midi\0"
> ".mp3\0"      "audio/mpeg\0"
> #if 0  /* unpopular */
> ".au\0"       "audio/basic\0"
> ".pac\0"      "application/x-ns-proxy-autoconfig\0"
> ".vrml.wrl\0" "model/vrml\0"
> #endif

Cheers,

Xabier Oneca_,,_
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to