mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-28 20:24:59 +08:00
various fixes
This commit is contained in:
@@ -56,7 +56,7 @@ class TestInvalidRequests(tservers.HTTPProxTest):
|
||||
p = self.pathoc()
|
||||
r = p.request("connect:'%s:%s'" % ("127.0.0.1", self.server2.port))
|
||||
assert r.status_code == 400
|
||||
assert "Must not CONNECT on already encrypted connection" in r.body
|
||||
assert "Invalid HTTP request form" in r.body
|
||||
|
||||
def test_relative_request(self):
|
||||
p = self.pathoc_raw()
|
||||
|
||||
Reference in New Issue
Block a user