mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 08:11:00 +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)
|