mirror of https://github.com/v2ray/v2ray-core
update http connect test
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