Check out the mimetype module that comes with Python. See if it detects your types.
On Mon, 2002-01-21 at 16:16, Matt Feifarek wrote: > I'm having a problem getting webkit to cough up files of mimetype other than > html. > > When I put a flash file (.swf) inside of a webkit context, it gets sent > through as mimetype text/html rather than application/x-shockwave-flash like > it should be. > > I'm running apache and mod_webkit, and the flash files DO come through > correctly on straight apache. > > Obviously, webkit doesn't change the mimetype for .gif and .jpg images, but > I can't find the exceptions that preserve those. It seems like the thing to > do is to find them and to add .swf to the list. > > Can someone point me to the right class? > > Thanks! > > > _______________________________________________ > Webware-discuss mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/webware-discuss > _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
