mirror of
https://github.com/mitmproxy/mitmproxy.git
synced 2025-01-09 14:41:13 +00:00
7 lines
177 B
Python
7 lines
177 B
Python
from BaseHTTPServer import HTTPServer
|
|
import handler
|
|
|
|
def make(port):
|
|
server_address = ('127.0.0.1', port)
|
|
return HTTPServer(server_address, handler.TestRequestHandler)
|