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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user