Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Clain (0.31 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/CallTest.kt

        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)
  3. okhttp/src/test/java/okhttp3/CacheTest.kt

            .addHeader("Content-Type: text/plain")
            .addHeader("Last-Modified: " + formatDate(-2, TimeUnit.HOURS))
            .addHeader("Expires: " + formatDate(-1, TimeUnit.HOURS))
            .build(),
        )
        server.enqueue(
          MockResponse.Builder()
            .code(HttpURLConnection.HTTP_NOT_MODIFIED)
            .addHeader("Content-Type: text/plain")
            .addHeader("Content-Encoding: gzip")
    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

    // Submitted by Paul Cammish <******@****.***>
    uk0.bigv.io
    dh.bytemark.co.uk
    vm.bytemark.co.uk
    
    // Caf.js Labs LLC : https://www.cafjs.com
    // Submitted by Antonio Lain <******@****.***>
    cafjs.com
    
    // callidomus : https://www.callidomus.com/
    // Submitted by Marcus Popp <******@****.***>
    mycd.eu
    
    // Canva Pty Ltd : https://canva.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