Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 315 for _proxy_ (0.04 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

      }
    
      @Test
      fun successfulSocksProxyConnect() {
        server.enqueue(MockResponse())
        socksProxy = SocksProxy()
        socksProxy!!.play()
        val proxy = socksProxy!!.proxy()
        client =
          client
            .newBuilder()
            .proxy(proxy)
            .build()
        val call =
          client.newCallWithListener(
            Request
              .Builder()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 70.5K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt

        )
      }
    
      @Test
      @Throws(IOException::class)
      fun successfulHttpProxyConnect() {
        server.enqueue(MockResponse())
        val proxy = server.proxyAddress
        client =
          client
            .newBuilder()
            .proxy(proxy)
            .build()
        val call =
          client.newCall(
            Request
              .Builder()
              .url("http://www.fakeurl")
              .build(),
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 18:33:48 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/wsgi.md

    # Including WSGI - Flask, Django, others { #including-wsgi-flask-django-others }
    
    You can mount WSGI applications as you saw with [Sub Applications - Mounts](sub-applications.md){.internal-link target=_blank}, [Behind a Proxy](behind-a-proxy.md){.internal-link target=_blank}.
    
    For that, you can use the `WSGIMiddleware` and use it to wrap your WSGI application, for example, Flask, Django, etc.
    
    ## Using `WSGIMiddleware` { #using-wsgimiddleware }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

       * can't coalesce connections that use a proxy, since proxies don't tell us the origin server's IP
       * address.
       */
      private fun routeMatchesAny(candidates: List<Route>): Boolean =
        candidates.any {
          it.proxy.type() == Proxy.Type.DIRECT &&
            route.proxy.type() == Proxy.Type.DIRECT &&
            route.socketAddress == it.socketAddress
        }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  5. docs/zh/docs/advanced/wsgi.md

    # 包含 WSGI - Flask,Django,其它
    
    您可以挂载多个 WSGI 应用,正如您在 [Sub Applications - Mounts](sub-applications.md){.internal-link target=_blank}, [Behind a Proxy](behind-a-proxy.md){.internal-link target=_blank} 中所看到的那样。
    
    为此, 您可以使用 `WSGIMiddleware` 来包装你的 WSGI 应用,如:Flask,Django,等等。
    
    ## 使用 `WSGIMiddleware`
    
    您需要导入 `WSGIMiddleware`。
    
    然后使用该中间件包装 WSGI 应用(例如 Flask)。
    
    之后将其挂载到某一个路径下。
    
    {* ../../docs_src/wsgi/tutorial001.py hl[2:3,22] *}
    
    ## 检查
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. docs/pt/docs/advanced/wsgi.md

    # Adicionando WSGI - Flask, Django, entre outros { #including-wsgi-flask-django-others }
    
    Como você viu em [Subaplicações - Montagens](sub-applications.md){.internal-link target=_blank} e [Atrás de um Proxy](behind-a-proxy.md){.internal-link target=_blank}, você pode montar aplicações WSGI.
    
    Para isso, você pode utilizar o `WSGIMiddleware` para encapsular a sua aplicação WSGI, como por exemplo Flask, Django, etc.
    
    ## Usando `WSGIMiddleware` { #using-wsgimiddleware }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/wsgi.md

    # WSGI inkludieren – Flask, Django und andere { #including-wsgi-flask-django-others }
    
    Sie können WSGI-Anwendungen mounten, wie Sie es in [Unteranwendungen – Mounts](sub-applications.md){.internal-link target=_blank}, [Hinter einem Proxy](behind-a-proxy.md){.internal-link target=_blank} gesehen haben.
    
    Dazu können Sie die `WSGIMiddleware` verwenden und damit Ihre WSGI-Anwendung wrappen, zum Beispiel Flask, Django usw.
    
    ## `WSGIMiddleware` verwenden { #using-wsgimiddleware }
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                        Proxy p = new Proxy();
                        p.setHost(proxy.getHost());
                        p.setProtocol(proxy.getType());
                        p.setPort(proxy.getPort());
                        if (proxy.getAuthentication() != null) {
                            repo = new RemoteRepository.Builder(repo)
                                    .setProxy(proxy)
                                    .build();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 33.5K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        assertThat(connect1.headers["Proxy-Authorization"]).isNull()
        val connect2 = server.takeRequest()
        assertThat(connect2.requestLine).isEqualTo("CONNECT android.com:443 HTTP/1.1")
        assertThat(connect2.headers["Proxy-Authorization"]).isEqualTo("password")
        val get = server.takeRequest()
        assertThat(get.requestLine).isEqualTo("GET /foo HTTP/2")
        assertThat(get.headers["Proxy-Authorization"]).isNull()
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 147.4K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

        assertThat(call).contains("prompt=Bar")
        assertThat(call).contains("protocol=http")
        assertThat(call.lowercase(Locale.US)).contains("scheme=basic")
      }
    
      private fun authCallsForHeader(authHeader: String): List<String> {
        val proxy = authHeader.startsWith("Proxy-")
        val responseCode = if (proxy) 407 else 401
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
Back to top