Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ca (0.15 sec)

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

         * 2
         * Accept-Language: fr-CA
         * Accept-Charset: UTF-8
         * HTTP/1.1 200 OK
         * 3
         * Content-Type: image/png
         * Content-Length: 100
         * Cache-Control: max-age=600
         * ```
         *
         * A typical HTTPS file looks like this:
         *
         * ```
         * https://google.com/foo
         * GET
         * 2
         * Accept-Language: fr-CA
         * Accept-Charset: UTF-8
    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)
  2. okhttp/src/test/java/okhttp3/CacheTest.kt

          Request.Builder()
            .url(url)
            .header("Accept-Language", "fr-CA")
            .build()
        val response1 = client.newCall(request).execute()
        assertThat(response1.body.string()).isEqualTo("A")
        val request1 =
          Request.Builder()
            .url(url)
            .header("Accept-Language", "fr-CA")
            .build()
        val response2 = client.newCall(request1).execute()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CallTest.kt

            .cache(cache)
            .build()
    
        // Store a response in the cache.
        val url = server.url("/")
        val request1SentAt = System.currentTimeMillis()
        executeSynchronously("/", "Accept-Language", "fr-CA", "Accept-Charset", "UTF-8")
          .assertCode(200)
          .assertBody("A")
        val request1ReceivedAt = System.currentTimeMillis()
        assertThat(server.takeRequest().headers["If-None-Match"]).isNull()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

       *
       * If [routes] is non-null these are the resolved routes (ie. IP addresses) for the connection.
       * This is used to coalesce related domains to the same HTTP/2 connection, such as `square.com`
       * and `square.ca`.
       */
      fun callAcquirePooledConnection(
        doExtensiveHealthChecks: Boolean,
        address: Address,
        connectionUser: ConnectionUser,
        routes: List<Route>?,
        requireMultiplexed: Boolean,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 16.2K bytes
    - Viewed (0)
Back to top