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
Родитель 6c41c5bd29
Коммит 414905d801
2 изменённых файлов: 0 добавлений и 17 удалений

Просмотреть файл

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

Просмотреть файл

@ -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()