Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Next (0.16 sec)

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

      fun getContentTypeConnects() {
        server.enqueue(
          MockResponse(
            headers = headersOf("Content-Type", "text/plain"),
            body = "ABC",
          ),
        )
        val response = getResponse(newRequest("/"))
        assertThat(response.body.contentType()).isEqualTo(
          "text/plain".toMediaType(),
        )
        response.body.close()
      }
    
      @Test
      fun getContentEncodingConnects() {
    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/CacheTest.kt

        assertThat(i.next()).isEqualTo(urlA.toString())
        assertThat(i.hasNext()).isTrue()
        assertThat(i.next()).isEqualTo(urlB.toString())
        assertThat(i.hasNext()).isTrue()
        assertThat(i.next()).isEqualTo(urlC.toString())
    
        // ... and nothing else.
        assertThat(i.hasNext()).isFalse()
        assertFailsWith<NoSuchElementException> {
          i.next()
        }
      }
    
      @Test
    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

        server.enqueue(MockResponse())
        assertFailsWith<IllegalArgumentException> {
          Request.Builder().method("GET", "abc".toRequestBody("text/plain".toMediaType()))
        }
      }
    
      @Test
      fun head() {
        server.enqueue(
          MockResponse(
            headers = headersOf("Content-Type", "text/plain"),
          ),
        )
        val request =
          Request.Builder()
            .url(server.url("/"))
            .head()
    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/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    // neustar : 2013-12-05 NeuStar, Inc.
    neustar
    
    // new : 2014-01-30 Charleston Road Registry Inc.
    new
    
    // news : 2014-12-18 Dog Beach, LLC
    news
    
    // next : 2015-06-18 Next plc
    next
    
    // nextdirect : 2015-06-18 Next plc
    nextdirect
    
    // nexus : 2014-07-24 Charleston Road Registry Inc.
    nexus
    
    // nfl : 2015-07-23 NFL Reg Ops LLC
    nfl
    
    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