Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for usingProxy (0.09 sec)

  1. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

            MockHttpURLConnection(URL u) {
                super(u);
            }
    
            @Override
            public void disconnect() {
                // Do Nothing
            }
    
            @Override
            public boolean usingProxy() {
                return false;
            }
    
            @Override
            public void connect() throws IOException {
                // Do Nothing
            }
    
            @Override
    Registered: Wed Jun 12 08:29:43 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  2. src/net/http/request.go

    		if !usingProxy {
    			host = ""
    		} else {
    			return errors.New("http: invalid Host header")
    		}
    	}
    
    	// According to RFC 6874, an HTTP client, proxy, or other
    	// intermediary must remove any IPv6 zone identifier attached
    	// to an outgoing URI.
    	host = removeZone(host)
    
    	ruri := r.URL.RequestURI()
    	if usingProxy && r.URL.Scheme != "" && r.URL.Opaque == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
Back to top