Author: eallen
Date: 2009-05-28 16:18:50 -0400 (Thu, 28 May 2009)
New Revision: 3403
Modified:
mgmt/trunk/wooly/python/wooly/pages.py
Log:
Return the correct content type for .gif resources.
Modified: mgmt/trunk/wooly/python/wooly/pages.py
===================================================================
--- mgmt/trunk/wooly/python/wooly/pages.py 2009-05-28 19:02:13 UTC (rev 3402)
+++ mgmt/trunk/wooly/python/wooly/pages.py 2009-05-28 20:18:50 UTC (rev 3403)
@@ -344,6 +344,8 @@
if name:
if name.endswith(".png"):
type = "image/png"
+ if name.endswith(".gif"):
+ type = "image/gif"
elif name.endswith(".jpeg"):
type = "image/jpeg"
elif name.endswith(".html"):