Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for lent (0.14 sec)

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

        // zero-width joiner
        assertThat(parse("http://h/\u200d").encodedPath).isEqualTo("/%E2%80%8D")
        // left-to-right mark
        assertThat(parse("http://h/\u200e").encodedPath).isEqualTo("/%E2%80%8E")
        // right-to-left mark
        assertThat(parse("http://h/\u200f").encodedPath).isEqualTo("/%E2%80%8F")
        // line separator
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

          return hostname == pattern
        }
    
        // Wildcard pattern
    
        // WILDCARD PATTERN RULES:
        // 1. Asterisk (*) is only permitted in the left-most domain name label and must be the
        //    only character in that label (i.e., must match the whole left-most label).
        //    For example, *.example.com is permitted, while *a.example.com, a*.example.com,
        //    a*b.example.com, a.*.example.com are not permitted.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/Cache.kt

            .receivedResponseAtMillis(receivedResponseMillis)
            .build()
        }
    
        companion object {
          /** Synthetic response header: the local time when the request was sent. */
          private val SENT_MILLIS = "${Platform.get().getPrefix()}-Sent-Millis"
    
          /** Synthetic response header: the local time when the response was received. */
          private val RECEIVED_MILLIS = "${Platform.get().getPrefix()}-Received-Millis"
        }
    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)
  4. mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt

      val requestUrl: HttpUrl?
    
      /**
       * Returns the name of the server the client requested via the SNI (Server Name Indication)
       * attribute in the TLS handshake. Unlike the rest of the HTTP exchange, this name is sent in
       * cleartext and may be monitored or blocked by a proxy or other middlebox.
       */
      val handshakeServerNames: List<String>
    
      init {
        if (socket is SSLSocket) {
          try {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 3.8K bytes
    - Viewed (1)
  5. docs/contribute/concurrency.md

    #### Framed protocols
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 16:35:36 GMT 2022
    - 7K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

            // This check is imperfect: it doesn't tell us whether a handshake will succeed, just
            // that it will almost certainly fail because the proxy has sent unexpected data.
            if (source?.buffer?.exhausted() == false || sink?.buffer?.exhausted() == false) {
              throw IOException("TLS tunnel buffered too many bytes!")
            }
    
            user.secureConnectStart()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CallTest.kt

              .filter { event: CallEvent? -> event is ConnectStart }
              .count()
          assertThat(connectCount).isEqualTo(1)
        }
      }
    
      /** Test which headers are sent unencrypted to the HTTP proxy.  */
      @Test
      fun proxyConnectOmitsApplicationHeaders() {
        server.useHttps(handshakeCertificates.sslSocketFactory())
        server.enqueue(
          MockResponse(inTunnel = true),
    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)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

      }
    
      @Throws(IOException::class)
      private fun readHeaderBlock(
        length: Int,
        padding: Int,
        flags: Int,
        streamId: Int,
      ): List<Header> {
        continuation.left = length
        continuation.length = continuation.left
        continuation.padding = padding
        continuation.flags = flags
        continuation.streamId = streamId
    
        // TODO: Concat multi-value headers with 0x0, except COOKIE, which uses 0x3B, 0x20.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  9. okhttp-sse/README.md

    OkHttp Server-Sent Events
    =========================
    
    Experimental support for server-sent events.
    API is not considered stable and may change at any time.
    
    ### Download
    
    ```kotlin
    testImplementation("com.squareup.okhttp3:okhttp-sse:4.12.0")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 245 bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

        client.webSocket!!.finishReader()
        assertThat(client.closed).isTrue()
        client.listener.assertFailure(
          ProtocolException::class.java,
          "Server-sent frames must not be masked.",
        )
        server.listener.assertClosing(1000, "Hello")
        server.listener.assertExhausted() // Client should not have sent second close.
      }
    
      @Test
    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