1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-27 22:36:12 -04:00

update http connect test

This commit is contained in:
sunshineplan 2017-12-03 10:45:26 +08:00 committed by GitHub
parent cf0fc6e4a0
commit 8ec1a98040
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
}
{