Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for followRedirect (0.09 sec)

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

        val connectionPool: ConnectionPool = client.connectionPool()
        val dns: Dns = client.dns()
        val followSslRedirects: Boolean = client.followSslRedirects()
        val followRedirects: Boolean = client.followRedirects()
        val retryOnConnectionFailure: Boolean = client.retryOnConnectionFailure()
        val callTimeoutMillis: Int = client.callTimeoutMillis()
        val connectTimeoutMillis: Int = client.connectTimeoutMillis()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

          else -> return null
        }
      }
    
      private fun buildRedirectRequest(
        userResponse: Response,
        method: String,
      ): Request? {
        // Does the client allow redirects?
        if (!client.followRedirects) return null
    
        val location = userResponse.header("Location") ?: return null
        // Don't follow redirects to unsupported protocols.
        val url = userResponse.request.url.resolve(location) ?: return null
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. docs/changelogs/upgrading_to_okhttp_4.md

     * **OkHttpClient**: authenticator, cache, callTimeoutMillis, certificatePinner,
       connectTimeoutMillis, connectionPool, connectionSpecs, cookieJar, dispatcher, dns,
       eventListenerFactory, followRedirects, followSslRedirects, hostnameVerifier, interceptors,
       networkInterceptors, pingIntervalMillis, protocols, proxy, proxyAuthenticator, proxySelector,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        val connectionPool: ConnectionPool = client.connectionPool
        val dns: Dns = client.dns
        val followSslRedirects: Boolean = client.followSslRedirects
        val followRedirects: Boolean = client.followRedirects
        val retryOnConnectionFailure: Boolean = client.retryOnConnectionFailure
        val callTimeoutMillis: Int = client.callTimeoutMillis
        val connectTimeoutMillis: Int = client.connectTimeoutMillis
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
Back to top