Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 191 for no_proxy (0.24 sec)

  1. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        }
      }
    
      internal enum class ProxyConfig {
        NO_PROXY {
          override fun connect(
            server: MockWebServer,
            client: OkHttpClient,
          ): Call.Factory {
            return client.newBuilder()
              .proxy(Proxy.NO_PROXY)
              .build()
          }
        },
        CREATE_ARG {
          override fun connect(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/EventListenerTest.kt

        assertThat(connectStart.call).isSameAs(call)
        assertThat(connectStart.inetSocketAddress).isEqualTo(expectedAddress)
        assertThat(connectStart.proxy).isEqualTo(Proxy.NO_PROXY)
        val connectEnd = listener.removeUpToEvent<CallEvent.ConnectEnd>()
        assertThat(connectEnd.call).isSameAs(call)
        assertThat(connectEnd.inetSocketAddress).isEqualTo(expectedAddress)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (0)
  3. src/net/http/transport.go

    // ProxyFromEnvironment returns the URL of the proxy to use for a
    // given request, as indicated by the environment variables
    // HTTP_PROXY, HTTPS_PROXY and NO_PROXY (or the lowercase versions
    // thereof). Requests use the proxy from the environment variable
    // matching their scheme, unless excluded by NO_PROXY.
    //
    // The environment values may be either a complete URL or a
    // "host[:port]", in which case the "http" scheme is assumed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        builder = builder.writeTimeout(Duration.ofSeconds(0L))
        builder = builder.pingInterval(0L, TimeUnit.SECONDS)
        builder = builder.pingInterval(Duration.ofSeconds(0L))
        builder = builder.proxy(Proxy.NO_PROXY)
        builder = builder.proxySelector(NullProxySelector)
        builder = builder.cookieJar(CookieJar.NO_COOKIES)
        builder = builder.cache(Cache(File("/cache/"), Integer.MAX_VALUE.toLong()))
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

         * precedence over [proxySelector], which is only honored when this proxy is null (which it is
         * by default). To disable proxy use completely, call `proxy(Proxy.NO_PROXY)`.
         */
        fun proxy(proxy: Proxy?) =
          apply {
            if (proxy != this.proxy) {
              this.routeDatabase = null
            }
            this.proxy = proxy
          }
    
        /**
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  6. src/net/http/transport_test.go

    	}
    }
    
    type proxyFromEnvTest struct {
    	req string // URL to fetch; blank means "http://example.com"
    
    	env      string // HTTP_PROXY
    	httpsenv string // HTTPS_PROXY
    	noenv    string // NO_PROXY
    	reqmeth  string // REQUEST_METHOD
    
    	want    string
    	wanterr error
    }
    
    func (t proxyFromEnvTest) String() string {
    	var buf strings.Builder
    	space := func() {
    		if buf.Len() > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                            }
                        });
                    }
                } else {
                    proxy = Proxy.NO_PROXY;
                }
                propMap.put(HTML_PROXY, proxy);
            }
            return proxy;
        }
    
        String getThumbnailHtmlImageExcludeExtensions();
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 85K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modfetch/proxy.go

    	proxyOnce.Do(func() {
    		if cfg.GONOPROXY != "" && cfg.GOPROXY != "direct" {
    			proxyOnce.list = append(proxyOnce.list, proxySpec{url: "noproxy"})
    		}
    
    		goproxy := cfg.GOPROXY
    		for goproxy != "" {
    			var url string
    			fallBackOnError := false
    			if i := strings.IndexAny(goproxy, ",|"); i >= 0 {
    				url = goproxy[:i]
    				fallBackOnError = goproxy[i] == '|'
    				goproxy = goproxy[i+1:]
    			} else {
    				url = goproxy
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 03 15:21:05 UTC 2023
    - 13K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CallTest.kt

        client =
          client.newBuilder()
            .proxySelector(
              FakeProxySelector()
                .addProxy(server2.toProxyAddress())
                .addProxy(Proxy.NO_PROXY),
            )
            .build()
        server2.shutdown()
        val request =
          Request(
            url = server.url("/"),
            body = "abc".toRequestBody("text/plain".toMediaType()),
          )
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modfetch/sumdb.go

    		// GOSUMDB=off or GONOSUMDB matches the pattern.
    		// If GOSUMDB=off, then the eventual lookup will fail
    		// with a good error message.
    
    		// Exception #1: using GOPROXY=file:// to test a distpack.
    		if strings.HasPrefix(cfg.GOPROXY, "file://") && !strings.ContainsAny(cfg.GOPROXY, ",|") {
    			must = false
    		}
    		// Exception #2: the Go proxy+checksum database cannot check itself
    		// while doing the initial download.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 20 15:02:47 UTC 2023
    - 9.1K bytes
    - Viewed (0)
Back to top