Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for go (0.14 sec)

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

      /**
       * We had a bug where we attempted to gunzip responses that didn't have a body. This only came up
       * with 304s since that response code can include headers (like "Content-Encoding") without any
       * content to go along with it. https://github.com/square/okhttp/issues/358
       */
      @Test
      fun noTransparentGzipFor304NotModified() {
        server.enqueue(
          MockResponse.Builder()
            .clearHeaders()
    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 call = client.newCall(Request(server.url("/a")))
        val executor = Executors.newSingleThreadExecutor()
        val result = executor.submit<Response?> { call.execute() }
        Thread.sleep(100) // wait for it to go in flight.
        call.cancel()
        assertFailsWith<IOException> {
          result.get()!!.body.bytes()
        }
        assertThat(server.requestCount).isEqualTo(1)
      }
    
      @Test
    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/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    tg
    
    // th : https://en.wikipedia.org/wiki/.th
    // Submitted by registry <******@****.***>
    th
    ac.th
    co.th
    go.th
    in.th
    mi.th
    net.th
    or.th
    
    // tj : http://www.nic.tj/policy.html
    tj
    ac.tj
    biz.tj
    co.tj
    com.tj
    edu.tj
    go.tj
    gov.tj
    int.tj
    mil.tj
    name.tj
    net.tj
    nic.tj
    org.tj
    test.tj
    web.tj
    
    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