We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ RUN ] HttpClientTest.GetWithoutProxy toft/net/http/http_client_test.cpp:64: Failure Value of: client.Get("http://non-exist-domaon.test/world", &response, &error) Actual: true Expected: false toft/net/http/http_client_test.cpp:65: Failure Value of: error Actual: 0 Expected: HttpClient::ERROR_FAIL_TO_RESOLVE_ADDRESS Which is: 4 toft/net/http/http_client_test.cpp:66: Failure Value of: client.GetErrorMessage(error) Actual: "Success" Expected: "Failed to resolve address" [ FAILED ] HttpClientTest.GetWithoutProxy (717 ms)
The text was updated successfully, but these errors were encountered:
$ curl --verbose http://non-exist-domaon.test/world
GET /world HTTP/1.1 User-Agent: curl/7.21.6 (x86_64-pc-linux-gnu) libcurl/7.21.6 OpenSSL/1.0.0e zlib/1.2.3.4 libidn/1.22 librtmp/2.3 Host: non-exist-domaon.test Accept: /
Sorry, something went wrong.
看起来像是联通运营商在搞鬼,强制跳转了。
No branches or pull requests
[ RUN ] HttpClientTest.GetWithoutProxy
toft/net/http/http_client_test.cpp:64: Failure
Value of: client.Get("http://non-exist-domaon.test/world", &response, &error)
Actual: true
Expected: false
toft/net/http/http_client_test.cpp:65: Failure
Value of: error
Actual: 0
Expected: HttpClient::ERROR_FAIL_TO_RESOLVE_ADDRESS
Which is: 4
toft/net/http/http_client_test.cpp:66: Failure
Value of: client.GetErrorMessage(error)
Actual: "Success"
Expected: "Failed to resolve address"
[ FAILED ] HttpClientTest.GetWithoutProxy (717 ms)
The text was updated successfully, but these errors were encountered: