Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for We (0.19 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 Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CacheTest.kt

          HttpURLConnection.HTTP_NO_CONTENT, HttpURLConnection.HTTP_RESET -> {
            builder.body("") // We forbid bodies for 204 and 205.
          }
        }
        server.enqueue(builder.build())
        if (responseCode == HttpURLConnection.HTTP_CLIENT_TIMEOUT) {
          // 408's are a bit of an outlier because we may repeat the request if we encounter this
          // response code. In this scenario, there are 2 responses: the initial 408 and then the 200
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CallTest.kt

        }.also { expected ->
          assertThat(expected.message).isEqualTo("Too many follow-up requests: 21")
        }
      }
    
      /**
       * We had a bug where we were passing a null route to the authenticator.
       * https://github.com/square/okhttp/issues/3809
       */
      @Test
      fun authenticateWithNoConnection() {
        server.enqueue(
          MockResponse(
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  4. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    by
    gov.by
    mil.by
    // Official information does not indicate that com.by is a reserved
    // second-level domain, but it's being used as one (see www.google.com.by and
    // www.yahoo.com.by, for example), so we list it here for safety's sake.
    com.by
    
    // http://hoster.by/
    of.by
    
    // bz : https://en.wikipedia.org/wiki/.bz
    // http://www.belizenic.bz/
    bz
    com.bz
    net.bz
    org.bz
    edu.bz
    gov.bz
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 240.3K bytes
    - Viewed (3)
Back to top