Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Vary (0.31 sec)

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

        }
      }
    
      /**
       * Initialize the cache. This will include reading the journal files from the storage and building
       * up the necessary in-memory cache information.
       *
       * The initialization time may vary depending on the journal file size and the current actual
       * cache size. The application needs to be aware of calling this function during the
       * initialization phase and preferably in a background worker thread.
       *
    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. samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt

     *
     * Install OpenSC separately. On a mac `brew cast install opensc`.
     */
    @SuppressSignatureCheck
    class YubikeyClientAuth {
      fun run() {
        // The typical PKCS11 slot, may vary with different hardware.
        val slot = 0
    
        val config = "--name=OpenSC\nlibrary=/Library/OpenSC/lib/opensc-pkcs11.so\nslot=$slot\n"
    
        // May fail with ProviderException with root cause like
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (1)
  3. okhttp/src/test/java/okhttp3/CallTest.kt

        cacheHit.cacheResponse()
          .assertCode(200)
          .assertHeader("Donut", "a")
          .assertHeader("ETag", "v1")
          .assertRequestUrl(server.url("/"))
          .assertRequestHeader("Accept-Language") // No Vary on Accept-Language.
          .assertRequestHeader("Accept-Charset", "UTF-8") // Because of Vary on Accept-Charset.
    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/test/java/okhttp3/CacheTest.kt

      }
    
      @Test
      fun varyMultipleFieldsWithMatch() {
        server.enqueue(
          MockResponse.Builder()
            .addHeader("Cache-Control: max-age=60")
            .addHeader("Vary: Accept-Language, Accept-Charset")
            .addHeader("Vary: Accept-Encoding")
            .body("A")
            .build(),
        )
        server.enqueue(
          MockResponse.Builder()
            .body("B")
            .build(),
        )
    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)
  5. samples/guide/src/main/java/okhttp3/recipes/kt/AccessHeaders.kt

          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          println("Server: ${response.header("Server")}")
          println("Date: ${response.header("Date")}")
          println("Vary: ${response.headers("Vary")}")
        }
      }
    }
    
    fun main() {
      AccessHeaders().run()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt

        private const val UNICODE_4 = 0x1d11e
    
        /**
         * Returns a new instance configured with a default encode set for the ASCII range. The specific
         * rules vary per-component: for example, '?' may be identity-encoded in a fragment, but must be
         * percent-encoded in a path.
         *
         * See https://url.spec.whatwg.org/#percent-encoded-bytes
         */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  7. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

       * The dispatcher used to respond to HTTP requests. The default dispatcher is a [QueueDispatcher],
       * which serves a fixed sequence of responses from a [queue][enqueue].
       *
       * Other dispatchers can be configured. They can vary the response based on timing or the content
       * of the request.
       */
      var dispatcher: Dispatcher = QueueDispatcher()
    
      private var portField: Int = -1
      val port: Int
        get() {
          before()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

          Header("server", ""),
          Header("set-cookie", ""),
          Header("strict-transport-security", ""),
          Header("transfer-encoding", ""),
          Header("user-agent", ""),
          Header("vary", ""),
          Header("via", ""),
          Header("www-authenticate", ""),
        )
    
      val NAME_TO_FIRST_INDEX = nameToFirstIndex()
    
      // http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-12#section-3.1
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 22.5K bytes
    - Viewed (1)
  9. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    rdv.to
    
    // .pl domains (grandfathered)
    art.pl
    gliwice.pl
    krakow.pl
    poznan.pl
    wroc.pl
    zakopane.pl
    
    // Pantheon Systems, Inc. : https://pantheon.io/
    // Submitted by Gary Dylina <gary@pantheon.io>
    pantheonsite.io
    gotpantheon.com
    
    // Peplink | Pepwave : http://peplink.com/
    // Submitted by Steve Leung <******@****.***>
    mypep.link
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 240.3K bytes
    - Viewed (3)
  10. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    213F          ; mapped                 ; 03C0          # 3.2  DOUBLE-STRUCK CAPITAL PI
    2140          ; mapped                 ; 2211          # 3.2  DOUBLE-STRUCK N-ARY SUMMATION
    2141..2144    ; valid                  ;      ; NV8    # 3.2  TURNED SANS-SERIF CAPITAL G..TURNED SANS-SERIF CAPITAL Y
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Feb 10 11:25:47 GMT 2024
    - 854.1K bytes
    - Viewed (2)
Back to top