aboutsummaryrefslogtreecommitdiffstats
path: root/test/serv.py
blob: a89e60d64a74ae0337d2b84a1031598a6707c028 (plain)
1
2
3
4
5
6
from BaseHTTPServer import HTTPServer
import handler

def make(port):
    server_address = ('127.0.0.1', port)
    return HTTPServer(server_address, handler.TestRequestHandler)