Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for target (0.23 sec)

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

          "FGHIJKLMNOPQRSTUVWXYZ",
        )
        inputStream.close()
        assertContent("ABCDEFGHIJKLMNOPQRSTUVWXYZ", getResponse(newRequest("/")))
      }
    
      /**
       * We've had a bug where we forget the HTTP response when we see response code 401. This causes a
       * new HTTP request to be issued for every call into the URLConnection.
       */
      @Test
      fun unauthorizedResponseHandling() {
        val mockResponse =
    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

            body = "/a has moved!",
          ),
        )
        server.enqueue(
          MockResponse(body = "this is the redirect target"),
        )
    
        val call = client.newCall(Request(server.url("/")))
        val response = call.execute()
        assertThat(response.body.string()).isEqualTo("this is the redirect target")
        assertThat(response.priorResponse?.body?.contentType())
          .isEqualTo("text/plain; charset=UTF-8".toMediaType())
    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

    taipei
    
    // talk : 2015-04-09 Amazon Registry Services, Inc.
    talk
    
    // taobao : 2015-01-15 Alibaba Group Holding Limited
    taobao
    
    // target : 2015-07-31 Target Domain Holdings, LLC
    target
    
    // tatamotors : 2015-03-12 Tata Motors Ltd
    tatamotors
    
    // tatar : 2014-04-24 Limited Liability Company "Coordination Center of Regional Domain of Tatarstan Republic"
    tatar
    
    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