Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 581 for expect (0.3 sec)

  1. docs/contribute/code_of_conduct.md

    collaborative, shared environment, and goals. We expect it to be followed in spirit as much as in
    the letter.
    
    Diversity Statement
    -------------------
    
    We encourage everyone to participate and are committed to building a community for all. Although we
    may not be able to satisfy everyone, we all agree that everyone is equal.
    
    Whenever a participant has made a mistake, we expect them to take responsibility for it. If someone
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 5.1K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

            // If there's a "Expect: 100-continue" header on the request, wait for a "HTTP/1.1 100
            // Continue" response before transmitting the request body. If we don't get that, return
            // what we did get (such as a 4xx response) without ever transmitting the request body.
            if ("100-continue".equals(request.header("Expect"), ignoreCase = true)) {
              exchange.flushRequest()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.3K bytes
    - Viewed (1)
  3. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/SocketPolicy.kt

      DISCONNECT_DURING_RESPONSE_BODY,
      DO_NOT_READ_REQUEST_BODY,
      FAIL_HANDSHAKE,
      SHUTDOWN_INPUT_AT_END,
      SHUTDOWN_OUTPUT_AT_END,
      STALL_SOCKET_AT_START,
      NO_RESPONSE,
      RESET_STREAM_AT_START,
      EXPECT_CONTINUE,
      CONTINUE_ALWAYS,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/RouteFailureTest.kt

            }
            .build()
    
        executeSynchronously(request)
          .assertBody("body")
    
        assertThat(client.routeDatabase.failedRoutes).isEmpty()
        // TODO check if we expect a second request to server1, before attempting server2
        assertThat(server1.requestCount).isEqualTo(2)
        assertThat(server2.requestCount).isEqualTo(1)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CallTest.kt

          requestBuilder.url("ftp://hostname/path")
        }.also { expected ->
          assertThat(expected.message).isEqualTo("Expected URL scheme 'http' or 'https' but was 'ftp'")
        }
      }
    
      @Test
      fun invalidPort() {
        val requestBuilder = Request.Builder()
        assertFailsWith<IllegalArgumentException> {
          requestBuilder.url("http://localhost:65536/")
        }.also { expected ->
    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)
  6. .github/ISSUE_TEMPLATE/question.md

    title: "\U0001F649"
    labels: ''
    assignees: ''
    
    ---
    
    🛑 𝙎𝙏𝙊𝙋
    
    This issue tracker is not the place for questions!
    
    If you want to ask how to do something, or to understand why something isn't working the way you expect it to, use Stack Overflow. https://stackoverflow.com/questions/tagged/okhttp
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 30 18:42:51 GMT 2018
    - 406 bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/PushObserver.kt

     *
     * While [onReset] may occur at any time, the following callbacks are expected in order,
     * correlated by stream ID.
     *
     *  * [onRequest]
     *  * [onHeaders] (unless canceled)
     *  * [onData] (optional sequence of data frames)
     *
     * As a stream ID is scoped to a single HTTP/2 connection, implementations which target multiple
     * connections should expect repetition of stream IDs.
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  8. fuzzing/fuzzingserver-expected.txt

    Jesse Wilson <******@****.***> 1553565692 -0500
    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)
  9. docs/changelogs/changelog_3x.md

           <version>1.14.0</version>
         </dependency>
    
         com.squareup.okio:okio:1.14.0
         ```
    
     *  Fix: Handle `HTTP/1.1 100 Continue` status lines, even on requests that did
        not send the `Expect: continue` request header.
     *  Fix: Do not count web sockets toward the dispatcher's per-host connection
        limit.
     *  Fix: Avoid using invalid HTTPS sessions. This prevents OkHttp from crashing
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  10. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/DeprecationBridge.kt

      }
    
      result.settings(settings)
      result.status = status
      result.headers(headers)
      result.trailers(trailers)
      result.socketPolicy =
        when (socketPolicy) {
          SocketPolicy.EXPECT_CONTINUE, SocketPolicy.CONTINUE_ALWAYS -> {
            result.add100Continue()
            KeepOpen
          }
          SocketPolicy.UPGRADE_TO_SSL_AT_END -> {
            result.inTunnel()
            KeepOpen
          }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
Back to top