Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 87 for Berger (0.17 sec)

  1. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

     *
     * ## Warning: Certificate Pinning is Dangerous!
     *
     * Pinning certificates limits your server team's abilities to update their TLS certificates. By
     * pinning certificates, you take on additional operational complexity and limit your ability to
     * migrate between certificate authorities. Do not use certificate pinning without the blessing of
     * your server's TLS administrator!
     *
     * ### Note about self-signed certificates
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.2K bytes
    - Viewed (1)
  2. okhttp/src/main/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

        // yet absolute. This is needed because server certificates do not normally contain absolute
        // names or patterns, but they should be treated as absolute. At the same time, any hostname
        // presented to this method should also be treated as absolute for the purposes of matching
        // to the server certificate.
        //   www.android.com  matches www.android.com
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseResponseInterceptor.kt

    import java.io.IOException
    import okhttp3.Interceptor.Chain
    import okio.Buffer
    import okio.BufferedSource
    import okio.ForwardingSource
    import okio.buffer
    
    /** Rewrites the response body returned from the server to be all uppercase.  */
    class UppercaseResponseInterceptor : Interceptor {
      @Throws(IOException::class)
      override fun intercept(chain: Chain): Response {
        return uppercaseResponse(chain.proceed(chain.request()))
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectInterceptor.kt

     */
    package okhttp3.internal.connection
    
    import java.io.IOException
    import okhttp3.Interceptor
    import okhttp3.Response
    import okhttp3.internal.http.RealInterceptorChain
    
    /**
     * Opens a connection to the target server and proceeds to the next interceptor. The network might
     * be used for the returned response, or to validate a cached response with a conditional GET.
     */
    object ConnectInterceptor : Interceptor {
      @Throws(IOException::class)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Cache.kt

     * the response, the client will issue a conditional `GET`. The server will then send either
     * the updated response if it has changed, or a short 'not modified' response if the client's copy
     * is still valid. Such responses increment both the network count and hit count.
     *
     * The best way to improve the cache hit rate is by configuring the web server to return cacheable
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  6. okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt

          val headers = response.headers
          for ((name, value) in headers) {
            println("$name: $value")
          }
          println()
        }
    
        // Stream the response to the System.out as it is returned from the server.
        val out = System.out.sink()
        val source = response.body.source()
        while (!source.exhausted()) {
          out.write(source.buffer, source.buffer.size)
          out.flush()
        }
    
        response.body.close()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt

    import javax.net.ssl.SSLSocket
    import okhttp3.Protocol
    
    /**
     * Deferred implementation of SocketAdapter that works by observing the socket
     * and initializing on first use.
     *
     * We use this because eager classpath checks cause confusion and excessive logging in Android,
     * and we can't rely on classnames after proguard, so are probably best served by falling through
     * to a situation of trying our least likely noisiest options.
     */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/Settings.kt

      }
    
      /**
       * Writes `other` into this. If any setting is populated by this and `other`, the
       * value and flags from `other` will be kept.
       */
      fun merge(other: Settings) {
        for (i in 0 until COUNT) {
          if (!other.isSet(i)) continue
          set(i, other[i])
        }
      }
    
      companion object {
        /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

        val address = factory.newAddress()
        proxySelector.proxies.add(Proxy.NO_PROXY)
        val routeSelector = newRouteSelector(address)
        proxySelector.assertRequests(address.url.toUri())
    
        // Only the origin server will be attempted.
        assertThat(routeSelector.hasNext()).isTrue()
        dns[uriHost] = dns.allocate(1)
        val selection = routeSelector.next()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Mar 06 17:33:38 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

     * is used to verify the signature of the "www.squareup.com" certificate.
     *
     * This roles are reversed for client authentication. In that case the client has a private key and
     * a chain of certificates. The server uses a set of trusted root certificates to authenticate the
     * client. Subject alternative names are not used for client authentication.
     */
    @Suppress("DEPRECATION")
    class HeldCertificate(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.6K bytes
    - Viewed (1)
Back to top