Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

        assertThat(b.code).isEqualTo(200)
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
        assertThat(
          server.takeRequest().sequenceNumber,
          "When connection: close is used, each request should get its own connection",
        ).isEqualTo(0)
      }
    
      @Test
      fun connectionCloseInResponse() {
        server.enqueue(MockResponse(headers = headersOf("Connection", "close")))
    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

        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(1)
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(2)
      }
    
      /**
       * Each OkHttpClient used to get its own instance of NullProxySelector, and because these weren't
       * equal their connections weren't pooled. That's a nasty performance bug!
       *
       * https://github.com/square/okhttp/issues/5519
    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);
    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

    asda
    
    // associates : 2014-03-06 Binky Moon, LLC
    associates
    
    // athleta : 2015-07-30 The Gap, Inc.
    athleta
    
    // attorney : 2014-03-20 Dog Beach, LLC
    attorney
    
    // auction : 2014-03-20 Dog Beach, LLC
    auction
    
    // audi : 2015-05-21 AUDI Aktiengesellschaft
    audi
    
    // audible : 2015-06-25 Amazon Registry Services, Inc.
    audible
    
    // audio : 2014-03-20 XYZ.COM LLC
    audio
    
    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