mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-21 17:46:58 -05:00
update http connect test
This commit is contained in:
parent
cf0fc6e4a0
commit
8ec1a98040
@ -284,7 +284,7 @@ func TestHttpBasicAuth(t *testing.T) {
|
||||
setProxyBasicAuth(req, "a", "c")
|
||||
resp, err := client.Do(req)
|
||||
assert(err, IsNil)
|
||||
assert(resp.StatusCode, Equals, 401)
|
||||
assert(resp.StatusCode, Equals, 407)
|
||||
}
|
||||
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user