summaryrefslogtreecommitdiff
path: root/paste/httpserver.py
diff options
context:
space:
mode:
Diffstat (limited to 'paste/httpserver.py')
-rwxr-xr-xpaste/httpserver.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/paste/httpserver.py b/paste/httpserver.py
index 6679fa9..abb857f 100755
--- a/paste/httpserver.py
+++ b/paste/httpserver.py
@@ -66,7 +66,6 @@ class ContinueHook(object):
self._ContinueFile_send()
return self._ContinueFile_rfile.readlines(sizehint)
-
class WSGIHandlerMixin:
"""
WSGI mix-in for HTTPRequestHandler
@@ -232,6 +231,7 @@ class WSGIHandler(WSGIHandlerMixin, BaseHTTPRequestHandler):
A WSGI handler that overrides POST, GET and HEAD to delegate
requests to the server's ``wsgi_application``.
"""
+ server_version = 'PasteWSGIServer/' + __version__
do_POST = do_GET = do_HEAD = do_DELETE = do_PUT = do_TRACE = \
WSGIHandlerMixin.wsgi_execute
@@ -307,7 +307,6 @@ else:
return (conn,info)
class WSGIServer(ThreadingMixIn, SecureHTTPServer):
- server_version = 'PasteWSGIServer/' + __version__
daemon_threads = False
def __init__(self, wsgi_application, server_address,