Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for chen (0.24 sec)

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

          getResponse(Request("http://-/foo.html".toHttpUrl()))
        }
      }
    
      // The request should work once and then fail.
      @Test
      fun getKeepAlive() {
        server.enqueue(MockResponse(body = "ABC"))
    
        // The request should work once and then fail.
        val connection1 = getResponse(newRequest("/"))
        val source1 = connection1.body.source()
    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 = "Page 2"))
    
        // when
        val response =
          client.newCall(
            Request.Builder()
              .url(server.url("/page1"))
              .method("PROPFIND", "Request Body".toRequestBody("text/plain".toMediaType()))
              .build(),
          ).execute()
    
        // then
        assertThat(response.body.string()).isEqualTo("Page 2")
    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(range.body.string()).isEqualTo("AA")
        assertThat(get(url).body.string()).isEqualTo("BB")
      }
    
      /**
       * When the server returns a full response body we will store it and return it regardless of what
       * its Last-Modified date is. This behavior was different prior to OkHttp 3.5 when we would prefer
       * the response with the later Last-Modified date.
       *
       * https://github.com/square/okhttp/issues/2886
       */
    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

    in-the-band.net
    is-a-anarchist.com
    is-a-blogger.com
    is-a-bookkeeper.com
    is-a-bruinsfan.org
    is-a-bulls-fan.com
    is-a-candidate.org
    is-a-caterer.com
    is-a-celticsfan.org
    is-a-chef.com
    is-a-chef.net
    is-a-chef.org
    is-a-conservative.com
    is-a-cpa.com
    is-a-cubicle-slave.com
    is-a-democrat.com
    is-a-designer.com
    is-a-doctor.com
    is-a-financialadvisor.com
    is-a-geek.com
    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