Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 153 for Dadd (1.37 sec)

  1. okhttp/src/main/kotlin/okhttp3/Response.kt

       * by the application:
       *
       * * It may be transformed by the user's interceptors. For example, an application interceptor
       *   may add headers like `User-Agent`.
       * * It may be the request generated in response to an HTTP redirect or authentication
       *   challenge. In this case the request URL may be different than the initial request URL.
       *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

         * certificate can sign other certificates (but those certificates cannot themselves sign
         * certificates). Set this to 1 so this certificate can sign intermediate certificates that can
         * themselves sign certificates. Add one for each additional layer of intermediates to permit.
         */
        fun certificateAuthority(maxIntermediateCas: Int) =
          apply {
            require(maxIntermediateCas >= 0) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.6K bytes
    - Viewed (1)
  3. okhttp/src/main/kotlin/okhttp3/CipherSuite.kt

          if (result == null) {
            result = INSTANCES[secondaryName(javaName)]
    
            if (result == null) {
              result = CipherSuite(javaName)
            }
    
            // Add the new cipher suite, or a confirmed alias.
            INSTANCES[javaName] = result
          }
          return result
        }
    
        private fun secondaryName(javaName: String): String {
          return when {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 39.9K bytes
    - Viewed (1)
  4. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DohProviders.kt

        return buildList {
          add(buildGoogle(client))
          if (!getOnly) {
            add(buildGooglePost(client))
          }
          add(buildCloudflare(client))
          add(buildCloudflareIp(client))
          if (!getOnly) {
            add(buildCloudflarePost(client))
          }
          if (!workingOnly) {
            // result += buildCleanBrowsing(client); // timeouts
            add(buildCryptoSx(client)) // 521 - server down
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Dec 23 10:26:25 GMT 2023
    - 3.8K bytes
    - Viewed (3)
  5. okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt

      }
    
      private fun secondRequestWithoutHuffman() {
        bytesIn.writeByte(0x82) // == Indexed - Add ==
        // idx = 2 -> :method: GET
        bytesIn.writeByte(0x86) // == Indexed - Add ==
        // idx = 7 -> :scheme: http
        bytesIn.writeByte(0x84) // == Indexed - Add ==
        // idx = 6 -> :path: /
        bytesIn.writeByte(0xbe) // == Indexed - Add ==
        // Indexed name (idx = 62) -> :authority: www.example.com
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 38.2K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/FormBodyTest.kt

    import okio.Buffer
    import org.junit.jupiter.api.Test
    
    class FormBodyTest {
      @Test
      fun urlEncoding() {
        val body =
          FormBody.Builder()
            .add("a+=& b", "c+=& d")
            .add("space, the", "final frontier")
            .add("%25", "%25")
            .build()
        assertThat(body.size).isEqualTo(3)
        assertThat(body.encodedName(0)).isEqualTo("a%2B%3D%26+b")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  7. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.kt

     */
    object HpackJsonUtil {
      @Suppress("unused")
      private val MOSHI =
        Moshi.Builder()
          .add(
            object : Any() {
              @ToJson fun byteStringToJson(byteString: ByteString) = byteString.hex()
    
              @FromJson fun byteStringFromJson(json: String) = json.decodeHex()
            },
          )
          .add(KotlinJsonAdapterFactory())
          .build()
      private val STORY_JSON_ADAPTER = MOSHI.adapter(Story::class.java)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  8. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt

      ) {
        get().log("[ES] onOpen", Platform.INFO, null)
        events.add(Open(eventSource, response))
        drainCancelQueue(eventSource)
      }
    
      override fun onEvent(
        eventSource: EventSource,
        id: String?,
        type: String?,
        data: String,
      ) {
        get().log("[ES] onEvent", Platform.INFO, null)
        events.add(Event(id, type, data))
        drainCancelQueue(eventSource)
      }
    
    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)
  9. okhttp/src/test/java/okhttp3/ConnectionSpecTest.kt

            .build()
        val set: MutableSet<Any> = CopyOnWriteArraySet()
        assertThat(set.add(ConnectionSpec.MODERN_TLS)).isTrue()
        assertThat(set.add(ConnectionSpec.COMPATIBLE_TLS)).isTrue()
        assertThat(set.add(ConnectionSpec.CLEARTEXT)).isTrue()
        assertThat(set.add(allTlsVersions)).isTrue()
        assertThat(set.add(allCipherSuites)).isTrue()
        allCipherSuites.hashCode()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/io/FaultyFileSystem.kt

      fun setFaultyWrite(
        file: Path,
        faulty: Boolean,
      ) {
        if (faulty) {
          writeFaults.add(file)
        } else {
          writeFaults.remove(file)
        }
      }
    
      fun setFaultyDelete(
        file: Path,
        faulty: Boolean,
      ) {
        if (faulty) {
          deleteFaults.add(file)
        } else {
          deleteFaults.remove(file)
        }
      }
    
      fun setFaultyRename(
        file: Path,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.8K bytes
    - Viewed (0)
Back to top