Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Kirsty (0.18 sec)

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

          MockResponse(body = "This is the first server again!"),
        )
        val response = getResponse(newRequest("/"))
        assertContent("This is the 2nd server!", response)
        assertThat(response.request.url).isEqualTo(
          server2.url("/"),
        )
    
        // make sure the first server was careful to recycle the connection
        assertContent("This is the first server again!", getResponse(Request(server.url("/"))))
    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

        server.enqueue(MockResponse(body = "abc"))
        server.enqueue(
          MockResponse.Builder()
            .body("def")
            .throttleBody(1, 750, TimeUnit.MILLISECONDS)
            .build(),
        )
    
        // First request: time out after 1s.
        client =
          client.newBuilder()
            .readTimeout(Duration.ofSeconds(1))
            .build()
        executeSynchronously("/a").assertBody("abc")
    
    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

       * http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html#sec13.4
       */
      @Test
      fun responseCachingByResponseCode() {
        // Test each documented HTTP/1.1 code, plus the first unused value in each range.
        // http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
    
        // We can't test 100 because it's not really a response.
        // assertCached(false, 100);
        assertCached(false, 101)
    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

    wien
    
    // wiki : 2013-11-07 Top Level Design, LLC
    wiki
    
    // williamhill : 2014-03-13 William Hill Organization Limited
    williamhill
    
    // win : 2014-11-20 First Registry Limited
    win
    
    // windows : 2014-12-18 Microsoft Corporation
    windows
    
    // wine : 2015-06-18 Binky Moon, LLC
    wine
    
    // winners : 2015-07-16 The TJX Companies, Inc.
    winners
    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