未验证 提交 2a14ae01 编写于 作者: K kezhenxu94

Test: forward POST method to GET method for e2e tests

上级 43794ac8
......@@ -39,6 +39,9 @@ if __name__ == '__main__':
with request.urlopen(req) as res:
self.wfile.write(res.read(300))
def do_POST(self):
self.do_GET()
PORT = 9090
Handler = SimpleHTTPRequestHandler
......
......@@ -36,6 +36,9 @@ if __name__ == '__main__':
with request.urlopen(req) as res:
self.wfile.write(res.read(1024))
def do_POST(self):
self.do_GET()
PORT = 9091
Handler = SimpleHTTPRequestHandler
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册