Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for OK (0.12 sec)

  1. fuzzing/fuzzingserver-expected.txt

    "9.1.1 OK"
    "9.1.2 OK"
    "9.1.3 OK"
    "9.1.4 OK"
    "9.1.5 OK"
    "9.1.6 OK"
    "9.2.1 OK"
    "9.2.2 OK"
    "9.2.3 OK"
    "9.2.4 OK"
    "9.2.5 OK"
    "9.2.6 OK"
    "9.3.1 OK"
    "9.3.2 OK"
    "9.3.3 OK"
    "9.3.4 OK"
    "9.3.5 OK"
    "9.3.6 OK"
    "9.3.7 OK"
    "9.3.8 OK"
    "9.3.9 OK"
    "9.4.1 OK"
    "9.4.2 OK"
    "9.4.3 OK"
    "9.4.4 OK"
    "9.4.5 OK"
    "9.4.6 OK"
    "9.4.7 OK"
    "9.4.8 OK"
    "9.4.9 OK"
    "9.5.1 OK"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Mar 26 02:01:32 GMT 2019
    - 6.7K bytes
    - Viewed (0)
  2. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

          /** No logs. */
          NONE,
    
          /**
           * Logs request and response lines.
           *
           * Example:
           * ```
           * --> POST /greeting http/1.1 (3-byte body)
           *
           * <-- 200 OK (22ms, 6-byte body)
           * ```
           */
          BASIC,
    
          /**
           * Logs request and response lines and their respective headers.
           *
           * Example:
           * ```
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 11.2K bytes
    - Viewed (1)
  3. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

          MockResponse.Builder()
            .status("HTP/1.1 200 OK")
            .build(),
        )
        val request = newRequest("/")
        assertFailsWith<IOException> {
          getResponse(request)
        }
      }
    
      @Test
      fun serverSendsInvalidCodeTooLarge() {
        server.enqueue(
          MockResponse.Builder()
            .status("HTTP/1.1 2147483648 OK")
            .build(),
        )
        val request = newRequest("/")
    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)
  4. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

        applicationLogs
          .assertLogEqual("--> GET $url")
          .assertLogMatch(Regex("""<-- 200 OK $url \(\d+ms, 0-byte body\)"""))
          .assertNoMoreLogs()
        networkLogs
          .assertLogEqual("--> GET $url http/1.1")
          .assertLogMatch(Regex("""<-- 200 OK $url \(\d+ms, 0-byte body\)"""))
          .assertNoMoreLogs()
      }
    
      @Test
      fun basicPost() {
        setLevel(Level.BASIC)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 37.6K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/http/StatusLineTest.kt

        assertInvalid("HTTP/2.1 200 OK")
        assertInvalid("HTTP/-.1 200 OK")
        assertInvalid("HTTP/1.- 200 OK")
        assertInvalid("HTTP/0.1 200 OK")
        assertInvalid("HTTP/101 200 OK")
        assertInvalid("HTTP/1.1_200 OK")
      }
    
      @Test
      fun nonThreeDigitCode() {
        assertInvalid("HTTP/1.1  OK")
        assertInvalid("HTTP/1.1 2 OK")
        assertInvalid("HTTP/1.1 20 OK")
        assertInvalid("HTTP/1.1 2000 OK")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  6. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

        assertThat(headersToList(response)).containsExactly("Content-Length: 0")
        assertThat(response.status).isEqualTo("HTTP/1.1 200 OK")
      }
    
      @Test
      fun setResponseMockReason() {
        val reasons =
          arrayOf(
            "Mock Response",
            "Informational",
            "OK",
            "Redirection",
            "Client Error",
            "Server Error",
            "Mock Response",
          )
        for (i in 0..599) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http/StatusLine.kt

     *
     */
    package okhttp3.internal.http
    
    import java.net.ProtocolException
    import okhttp3.Protocol
    import okhttp3.Response
    import okio.IOException
    
    /** An HTTP response status line like "HTTP/1.1 200 OK". */
    class StatusLine(
      @JvmField val protocol: Protocol,
      @JvmField val code: Int,
      @JvmField val message: String,
    ) {
      override fun toString(): String {
        return buildString {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  8. docs/features/connections.md

    In OkHttp some fields of the address come from the URL (scheme, hostname, port) and the rest come from the [OkHttpClient](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-ok-http-client/).
    
    ### [Routes](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-route/)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Feb 21 03:33:59 GMT 2022
    - 5.4K bytes
    - Viewed (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

    import okhttp3.internal.http2.Settings
    import okio.Buffer
    
    /** A scripted response to be replayed by the mock web server. */
    @ExperimentalOkHttpApi
    class MockResponse {
      /** Returns the HTTP response line, such as "HTTP/1.1 200 OK". */
      val status: String
    
      val code: Int
        get() {
          val statusParts = status.split(' ', limit = 3)
          require(statusParts.size >= 2) { "Unexpected status: $status" }
          return statusParts[1].toInt()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 13.3K bytes
    - Viewed (1)
  10. okhttp/src/test/java/okhttp3/HeadersRequestTest.kt

    import org.junit.jupiter.api.Test
    
    class HeadersRequestTest {
      @Test fun readNameValueBlockDropsForbiddenHeadersHttp2() {
        val headerBlock =
          headersOf(
            ":status",
            "200 OK",
            ":version",
            "HTTP/1.1",
            "connection",
            "close",
          )
        val request = Request.Builder().url("http://square.com/").build()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.5K bytes
    - Viewed (0)
Back to top