[Twisted-Python] Adding Mime types using coil
I am trying to add a mime type (image/svg+xml) to a default twisted web server (mktap web --path c:/proj/html) and although it looks like it is changed when I add it using coil, when I close and restart coil it doesn't show up. Any suggestions on things to look for? Platform: WinXP Pro, Python 2.2 (activestate), Twisted Twisted-0.19.0rc3 Thanks- Karl
Lewin, Karl E wrote:
I am trying to add a mime type (image/svg+xml) to a default twisted web server (mktap web --path c:/proj/html) and although it looks like it is changed when I add it using coil, when I close and restart coil it doesn't show up. Any suggestions on things to look for?
This is a bug in Twisted, since the dictionary is actually a class level attribute instead of an instance, so it doesn't get saved when you save the tap. I'll fix this after we release 0.19.0.
participants (2)
-
Itamar Shtull-Trauring
-
Lewin, Karl E