Fix a ReferenceError due to forgotten detritus of an old patch, remove a long-obsolete file. r=sparky, a=lumpy

This commit is contained in:
jwalden@mit.edu 2008-01-05 23:45:12 -08:00
parent b5cdcdf188
commit be1586dd4b
2 changed files with 0 additions and 17 deletions

View File

@ -197,7 +197,6 @@ function serverShutdown(metadata, response)
// Note: this doesn't disrupt the current request.
server.stop();
otherDomainServer.stop();
}
function redirect(metadata, response)

View File

@ -1,16 +0,0 @@
import SimpleHTTPServer
import SocketServer
# minimal web server. serves files relative to the
# current directory.
PORT = 8888
Handler = SimpleHTTPServer.SimpleHTTPRequestHandler
Handler.extensions_map[".xhtml"] = "application/xhtml+xml"
Handler.extensions_map[".svg"] = "image/svg+xml"
Handler.extensions_map[".xul"] = "application/vnd.mozilla.xul+xml"
httpd = SocketServer.TCPServer(("", PORT), Handler)
print "serving at port", PORT
httpd.serve_forever()