summaryrefslogtreecommitdiffstats
path: root/Lib/wsgiref/simple_server.py
diff options
context:
space:
mode:
authorTarek Ziadé <ziade.tarek@gmail.com>2010-02-23 06:00:04 (GMT)
committerTarek Ziadé <ziade.tarek@gmail.com>2010-02-23 06:00:04 (GMT)
commit8e615ae3bb6589993316fe960cdf6d710ad5aa66 (patch)
treec528f8c9816e8e4ca02a424665ab1077c7acade7 /Lib/wsgiref/simple_server.py
parentc339978b1bbce8f3003f25e79ba0dc2f16c319cb (diff)
downloadcpython-8e615ae3bb6589993316fe960cdf6d710ad5aa66.zip
cpython-8e615ae3bb6589993316fe960cdf6d710ad5aa66.tar.gz
cpython-8e615ae3bb6589993316fe960cdf6d710ad5aa66.tar.bz2
Merged revisions 78367 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r78367 | tarek.ziade | 2010-02-23 00:53:05 -0500 (Tue, 23 Feb 2010) | 1 line fixed #5801: removed spurious empty lines in wsgiref ........
Diffstat (limited to 'Lib/wsgiref/simple_server.py')
-rw-r--r--Lib/wsgiref/simple_server.py50
1 files changed, 0 insertions, 50 deletions
diff --git a/Lib/wsgiref/simple_server.py b/Lib/wsgiref/simple_server.py
index da14144..231dc57 100644
--- a/Lib/wsgiref/simple_server.py
+++ b/Lib/wsgiref/simple_server.py
@@ -38,8 +38,6 @@ class ServerHandler(SimpleHandler):
-
-
class WSGIServer(HTTPServer):
"""BaseHTTPServer that implements the Python WSGI protocol"""
@@ -69,18 +67,6 @@ class WSGIServer(HTTPServer):
-
-
-
-
-
-
-
-
-
-
-
-
class WSGIRequestHandler(BaseHTTPRequestHandler):
server_version = "WSGIServer/" + __version__
@@ -139,29 +125,6 @@ class WSGIRequestHandler(BaseHTTPRequestHandler):
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
def demo_app(environ,start_response):
from io import StringIO
stdout = StringIO()
@@ -190,16 +153,3 @@ if __name__ == '__main__':
import webbrowser
webbrowser.open('http://localhost:8000/xyz?abc')
httpd.handle_request() # serve one request, then exit
-
-
-
-
-
-
-
-
-
-
-
-
-#