add svg to server.py mime types

git-svn-id: svn://10.0.0.236/trunk@214183 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sayrer%gmail.com
2006-10-26 20:58:16 +00:00
parent f6c7059d0a
commit e104d560e5

View File

@@ -8,6 +8,7 @@ PORT = 8888
Handler = SimpleHTTPServer.SimpleHTTPRequestHandler
Handler.extensions_map[".xhtml"] = "application/xhtml+xml"
Handler.extensions_map[".svg"] = "image/svg+xml"
httpd = SocketServer.TCPServer(("", PORT), Handler)
print "serving at port", PORT