Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for usingProxy (0.15 sec)

  1. 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