Commit 02b1ce4c authored by Denis Bilenko's avatar Denis Bilenko

fix examples/httpserver.py with regard to new API

parent e6022b66
......@@ -16,4 +16,4 @@ def callback(request):
request.send_reply(404, "Not Found", "<h1>Not Found</h1>")
print 'Serving on 8088...'
http.HTTPServer(callback).serve_forever(('0.0.0.0', 8088))
http.HTTPServer(('0.0.0.0', 8088), callback).serve_forever()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment