Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 85 for _proxy_ (0.44 sec)

  1. docs/en/docs/advanced/behind-a-proxy.md

    # Behind a Proxy { #behind-a-proxy }
    
    In many situations, you would use a **proxy** like Traefik or Nginx in front of your FastAPI app.
    
    These proxies could handle HTTPS certificates and other things.
    
    ## Proxy Forwarded Headers { #proxy-forwarded-headers }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 19:34:08 UTC 2025
    - 16K bytes
    - Viewed (0)
  2. docs/en/docs/deployment/https.md

        * Otherwise, you might have to stop the TLS Termination Proxy momentarily, start the renewal program to acquire the certificates, then configure them with the TLS Termination Proxy, and then restart the TLS Termination Proxy. This is not ideal, as your app(s) will not be available during the time that the TLS Termination Proxy is off.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 19:34:08 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

          // If we used the ProxySelector, and got a IOException during connect, report the failure.
          if (route.address.proxy == null && route.proxy.type() != Proxy.Type.DIRECT) {
            route.address.proxySelector.connectFailed(
              route.address.url.toUri(),
              route.proxy.address(),
              e,
            )
          }
          user.connectFailed(route, null, e)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/SocksProxyTest.kt

      }
    
      @AfterEach
      fun tearDown() {
        socksProxy.shutdown()
      }
    
      @Test
      fun proxy() {
        server.enqueue(MockResponse.Builder().body("abc").build())
        server.enqueue(MockResponse.Builder().body("def").build())
        val client =
          clientTestRule
            .newClientBuilder()
            .proxy(socksProxy.proxy())
            .build()
        val request1 = Request.Builder().url(server.url("/")).build()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt

        var client = OkHttpClient.Builder().build()
        assertThat(client.proxy).isNull()
        assertThat(client.proxySelector)
          .isNotInstanceOf(NullProxySelector::class.java)
        client =
          OkHttpClient
            .Builder()
            .proxy(Proxy.NO_PROXY)
            .build()
        assertThat(client.proxy).isSameAs(Proxy.NO_PROXY)
        assertThat(client.proxySelector)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/DummyProxy.java

    import java.io.Serializable;
    import java.lang.reflect.Method;
    import java.lang.reflect.Proxy;
    import java.util.Iterator;
    import java.util.LinkedHashSet;
    import java.util.Set;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Generates a dummy interface proxy that simply returns a dummy value for each method.
     *
     * @author Ben Yu
     */
    @GwtIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/curl/CurlRequestTest.java

            assertNull(request.proxy());
            assertNull(request.body());
        }
    
        @Test
        public void testProxyMethod() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
            Proxy proxy = Proxy.NO_PROXY;
    
            CurlRequest result = request.proxy(proxy);
    
            assertSame(request, result); // Fluent API
            assertSame(proxy, request.proxy());
        }
    
        @Test
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/curl/CurlRequest.java

         */
        public String body() {
            return body;
        }
    
        /**
         * Sets the proxy for the request.
         *
         * @param proxy the proxy
         * @return this CurlRequest instance
         */
        public CurlRequest proxy(final Proxy proxy) {
            this.proxy = proxy;
            return this;
        }
    
        /**
         * Sets the character encoding for the request.
         *
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt

      fun proxyMoveTest(cleanClose: Boolean) {
        // Define a single Proxy at myproxy:8008 that will artificially move during the test
        val proxySelector = RecordingProxySelector()
        val socketAddress = InetSocketAddress.createUnresolved("myproxy", 8008)
        proxySelector.proxies.add(Proxy(Proxy.Type.HTTP, socketAddress))
    
        // Define two host names for the DNS routing of fake proxy servers
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

    import java.io.Serializable;
    import java.lang.reflect.Method;
    import java.lang.reflect.Proxy;
    import java.util.Iterator;
    import java.util.LinkedHashSet;
    import java.util.Set;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Generates a dummy interface proxy that simply returns a dummy value for each method.
     *
     * @author Ben Yu
     */
    @GwtIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top