Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for proxyURL (0.14 sec)

  1. src/net/http/transport_test.go

    					closes.Add(1)
    				},
    			}, nil
    		}
    
    		c.Transport.(*Transport).Proxy = ProxyURL(pu)
    		c.Transport.(*Transport).OnProxyConnectResponse = func(ctx context.Context, proxyURL *url.URL, connectReq *Request, connectRes *Response) error {
    			if proxyURL.String() != pu.String() {
    				t.Errorf("proxy url got %s, want %s", proxyURL, pu)
    			}
    
    			if "https://"+connectReq.URL.String() != ts.URL {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
Back to top