internet-test-url
Defines the test URL used to verify connectivity for the DIRECT proxy.
For non-direct proxies, please refer to proxy-test-url.
An HTTP HEAD request is sent to this URL. A response of HTTP/1.1 204 No Content is expected.
Example
# Specifies a reliable URL for testing direct internet connectivity
internet-test-url = http://www.gstatic.cn/generate_204
Format
internet-test-url = {http_url}
tip
The URL must start with http://. https:// or other schemes are not supported.
tip
You can emulate the proxy test using the command below:
curl -I http://www.gstatic.cn/generate_204