summaryrefslogtreecommitdiff
path: root/paste/servers/wsgiutils_server.py
diff options
context:
space:
mode:
Diffstat (limited to 'paste/servers/wsgiutils_server.py')
-rw-r--r--paste/servers/wsgiutils_server.py24
1 files changed, 0 insertions, 24 deletions
diff --git a/paste/servers/wsgiutils_server.py b/paste/servers/wsgiutils_server.py
deleted file mode 100644
index ce501f4..0000000
--- a/paste/servers/wsgiutils_server.py
+++ /dev/null
@@ -1,24 +0,0 @@
-from optparse import Option
-from paste.util import thirdparty
-thirdparty.add_package('wsgiutils')
-from wsgiutils import wsgiServer
-
-def serve(conf, app):
- server = wsgiServer.WSGIServer(
- (conf.get('host', 'localhost'),
- int(conf.get('port', 8080))), {'': app})
- server.serve_forever()
-
-description = """\
-WSGIUtils <http://www.owlfish.com/software/wsgiutils/> is a small
-threaded server using Python's standard SimpleHTTPServer.
-"""
-
-options = [
- Option('--port',
- metavar="PORT",
- help='Port to serve on (default: 8080)'),
- Option('--host',
- metavar="HOST",
- help='Host to serve from (default: localhost, which is only accessible from the local computer; use 0.0.0.0 to make your application public)'),
- ]