Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for So (0.12 sec)

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

        server.enqueue(MockResponse(body = "this response comes via HTTPS"))
        server.enqueue(MockResponse(body = "another response via HTTPS"))
    
        // install a custom SSL socket factory so the server can be authorized
        client =
          client.newBuilder()
            .sslSocketFactory(
              handshakeCertificates.sslSocketFactory(),
              handshakeCertificates.trustManager,
            )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CallTest.kt

        val response = client.newCall(request).execute()
        val bodySource = response.body.source()
        assertThat(bodySource.readByte()).isEqualTo('d'.code.toByte())
    
        // The second byte of this request will be delayed by 750ms so we should time out after 250ms.
        val startNanos = System.nanoTime()
        bodySource.use {
          assertFailsWith<IOException> {
            bodySource.readByte()
          }.also { expected ->
    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)
  3. okhttp/src/test/java/okhttp3/CacheTest.kt

        assertThat(get(url).body.string()).isEqualTo("a")
    
        // The URL will remain available if hasNext() returned true...
        val i = cache.urls()
        assertThat(i.hasNext()).isTrue()
    
        // ...so even when we evict the element, we still get something back.
        cache.evictAll()
        assertThat(i.next()).isEqualTo(url.toString())
    
        // Remove does nothing. But most importantly, it doesn't throw!
        i.remove()
    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)
  4. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    sm
    
    // sn : https://en.wikipedia.org/wiki/.sn
    sn
    art.sn
    com.sn
    edu.sn
    gouv.sn
    org.sn
    perso.sn
    univ.sn
    
    // so : http://sonic.so/policies/
    so
    com.so
    edu.so
    gov.so
    me.so
    net.so
    org.so
    
    // sr : https://en.wikipedia.org/wiki/.sr
    sr
    
    // ss : https://registry.nic.ss/
    // Submitted by registry <******@****.***>
    ss
    biz.ss
    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)
Back to top