Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for OK (0.11 sec)

  1. regression-test/README.md

    ...
    > Task :regression-test:connectedDebugAndroidTest
    ...
    11:55:40 V/InstrumentationResultParser: Time: 13.271
    11:55:40 V/InstrumentationResultParser:
    11:55:40 V/InstrumentationResultParser: OK (12 tests)
    ...
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Nov 13 07:09:56 GMT 2020
    - 2.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/PublicInternalApiTest.kt

        assertFalse(requiresRequestBody("GET"))
      }
    
      @Test
      fun hasBody() {
        val request = Request.Builder().url("http://example.com").build()
        val response =
          Response.Builder().code(200)
            .message("OK")
            .request(request)
            .protocol(Protocol.HTTP_2)
            .build()
        assertTrue(hasBody(response))
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_1x.md

     * Fix: Cache SPDY responses even if the response body is closed prematurely.
     * Fix: Use strict timeouts when aborting a download.
     * Fix: Support Shoutcast HTTP responses like `ICY 200 OK`.
     * Fix: Don't unzip if there isn't a response body.
     * Fix: Don't leak gzip streams on redirects.
     * Fix: Don't do DNS lookups on invalid hosts.
     * Fix: Exhaust the underlying stream when reading gzip streams.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 6.4K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/CallTest.kt

          MockResponse.Builder()
            .status("HTP/1.1 200 OK")
            .build(),
        )
        executeSynchronously("/")
          .assertFailure("Unexpected status line: HTP/1.1 200 OK")
      }
    
      @Test
      fun serverSendsInvalidCodeTooLarge() {
        server.enqueue(
          MockResponse.Builder()
            .status("HTTP/1.1 2147483648 OK")
            .build(),
        )
        executeSynchronously("/")
    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)
  5. okhttp/src/test/java/okhttp3/ResponseJvmTest.kt

        return Response.Builder()
          .request(
            Request.Builder()
              .url("https://example.com/")
              .build(),
          )
          .protocol(Protocol.HTTP_1_1)
          .code(code)
          .message("OK")
          .body(responseBody)
          .apply { fn() }
          .build()
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/Cache.kt

         * Accept-Charset: UTF-8
         * HTTP/1.1 200 OK
         * 3
         * Content-Type: image/png
         * Content-Length: 100
         * Cache-Control: max-age=600
         * ```
         *
         * A typical HTTPS file looks like this:
         *
         * ```
         * https://google.com/foo
         * GET
         * 2
         * Accept-Language: fr-CA
         * Accept-Charset: UTF-8
         * HTTP/1.1 200 OK
         * 3
         * Content-Type: image/png
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  7. okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt

          .assertLogMatch(Regex("""requestHeadersEnd"""))
          .assertLogMatch(Regex("""responseHeadersStart"""))
          .assertLogMatch(Regex("""responseHeadersEnd: Response\{protocol=http/1\.1, code=200, message=OK, url=$url\}"""))
          .assertLogMatch(Regex("""responseBodyStart"""))
          .assertLogMatch(Regex("""responseBodyEnd: byteCount=6"""))
          .assertLogMatch(Regex("""connectionReleased"""))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  8. okhttp-coroutines/src/test/kotlin/okhttp3/SuspendCallTest.kt

      private class ClosableCall : FailingCall() {
        private val response =
          Response.Builder()
            .request(Request("https://example.com/".toHttpUrl()))
            .protocol(Protocol.HTTP_1_1)
            .message("OK")
            .code(200)
            .body(
              object : ResponseBody() {
                override fun contentType() = null
    
                override fun contentLength() = -1L
    
                override fun source() =
    Plain Text
    - Registered: Fri Apr 12 11:42:09 GMT 2024
    - Last Modified: Fri Apr 05 11:25:23 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  9. okhttp-brotli/src/test/java/okhttp3/brotli/BrotliInterceptorTest.kt

        bodyHex: ByteString,
        fn: Response.Builder.() -> Unit = {},
      ): Response {
        return Response.Builder()
          .body(bodyHex.toResponseBody("text/plain".toMediaType()))
          .code(200)
          .message("OK")
          .request(Request.Builder().url(url).build())
          .protocol(Protocol.HTTP_2)
          .apply(fn)
          .build()
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

        ) {
          val url = "http://example.com/websocket"
          val response =
            Response.Builder()
              .code(101)
              .message("OK")
              .request(Request.Builder().url(url).build())
              .headers(responseHeaders!!)
              .protocol(Protocol.HTTP_1_1)
              .build()
          webSocket =
            RealWebSocket(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 01:59:58 GMT 2024
    - 18.5K bytes
    - Viewed (0)
Back to top