Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 73 of 73 for interceptors (0.07 sec)

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

        Note over Server: Server interprets headers<br/>(if --forwarded-allow-ips is set)
    
        Server->>Proxy: HTTP Response<br/>with correct HTTPS URLs
    
        Proxy->>Client: HTTPS Response
    ```
    
    The **proxy** intercepts the original client request and adds the special *forwarded* headers (`X-Forwarded-*`) before passing the request to the **application server**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 19:34:08 UTC 2025
    - 16K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

            "Expected 'Sec-WebSocket-Accept' header value '$acceptExpected' but was '$headerAccept'",
          )
        }
    
        return response.socket
          ?: throw ProtocolException("Web Socket socket missing: bad interceptor?")
      }
    
      /**
       * This accepts a [BufferedSource] instead of using [Socket.source], just in case we've already
       * received data from the peer. This accepts a [BufferedSink] for symmetry with the source.
       */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

       * as a **network interceptor**. It will strip the `Location` header of impacted responses to
       * prevent the redirect.
       *
       * ```
       * OkHttpClient client = client.newBuilder()
       *   .addNetworkInterceptor(new LegacyRedirectInterceptor())
       *   .build();
       * ```
       */
      internal class LegacyRedirectInterceptor : Interceptor {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
Back to top