Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for tabs (0.15 sec)

  1. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

        assertThat(CertificateAdapters.extension.toDer(extension))
          .isEqualTo(bytes)
        assertThat(CertificateAdapters.extension.fromDer(bytes))
          .isEqualTo(extension)
      }
    
      /** Tags larger than 30 are a special case. */
      @Test fun `large tag`() {
        val bytes = "df83fb6800".decodeHex()
    
        val adapter = Adapters.NULL.withTag(tagClass = DerHeader.TAG_CLASS_PRIVATE, tag = 65_000L)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 31.7K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Request.kt

          this.method = request.method
          this.body = request.body
          this.tags =
            when {
              request.tags.isEmpty() -> mapOf()
              else -> request.tags.toMutableMap()
            }
          this.headers = request.headers.newBuilder()
          this.cacheUrlOverride = request.cacheUrlOverride
        }
    
        open fun url(url: HttpUrl): Builder =
          apply {
            this.url = url
          }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:17:44 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/RequestTest.kt

          )
        assertThat(request.url).isEqualTo(url)
        assertThat(request.headers).isEqualTo(headers)
        assertThat(request.method).isEqualTo(method)
        assertThat(request.body).isEqualTo(body)
        assertThat(request.tags).isEmpty()
      }
    
      @Test
      fun constructorNoBodyNoMethod() {
        val url = "https://example.com/".toHttpUrl()
        val headers = headersOf("User-Agent", "RequestTest")
        val request =
          Request(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  4. CHANGELOG.md

        `Response.networkResponse`, and `Response.priorResponse`. In such cases the body is now
        non-null, but attempts to read its content will fail.
     *  New: Kotlin-specific APIs for request tags. Kotlin language users can lookup tags with a type
        parameter only, like `request.tag<MyTagClass>()`.
     *  New: MockWebServer has improved support for HTTP/1xx responses. Once you've migrated to the new
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  5. docs/features/https.md

            failure (external/openssl/ssl/s23_clnt.c:770 0x7f2728a53ea0:0x00000000)
        at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)
    ```
    
    You can check a web server's configuration using [Qualys SSL Labs][qualys]. OkHttp's TLS
    configuration history is [tracked here](../security/tls_configuration_history.md).
    
    Applications expected to be installed on older Android devices should consider adopting the
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Dec 24 00:16:30 GMT 2022
    - 10.5K bytes
    - Viewed (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

          if (result.size > 0) {
            result.writeByte(dot)
          }
          result.writeDecimalLong(readVariableLengthLong())
        }
        return result.readUtf8()
      }
    
      /** Used for tags and subidentifiers. */
      private fun readVariableLengthLong(): Long {
        // TODO(jwilson): detect overflow.
        var result = 0L
        while (true) {
          val byteN = source.readByte().toLong() and 0xff
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt

          encodings[ 0x5] = encoding // Enquiry
          encodings[ 0x6] = encoding // Acknowledgment
          encodings[ 0x7] = encoding // Bell
          encodings['\b'.code] = encoding // Backspace
          encodings[ 0xb] = encoding // Vertical Tab
          encodings[ 0xe] = encoding // Shift Out
          encodings[ 0xf] = encoding // Shift In
          encodings[ 0x10] = encoding // Data Link Escape
          encodings[ 0x11] = encoding // Device Control 1 (oft. XON)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/RequestCommonTest.kt

          )
        assertThat(request.url).isEqualTo(url)
        assertThat(request.headers).isEqualTo(headers)
        assertThat(request.method).isEqualTo(method)
        assertThat(request.body).isEqualTo(body)
        assertThat(request.tags).isEmpty()
      }
    
      @Test
      fun constructorNoBodyNoMethod() {
        val url = "https://example.com/".toHttpUrl()
        val headers = headersOf("User-Agent", "RequestTest")
        val request =
          Request(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  9. okhttp/src/main/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz

    tamayu.shimane.jp tamba.hyogo.jp tana.no tanabe.kyoto.jp tanabe.wakayama.jp tanagura.fukushima.jp tananger.no tank.museum tanohata.iwate.jp taobao tara.saga.jp tarama.okinawa.jp taranto.it target targi.pl tarnobrzeg.pl tarui.gifu.jp tarumizu.kagoshima.jp tas.au tas.edu.au tas.gov.au tashkent.su tatamotors tatar tatebayashi.gunma.jp tateshina.nagano.jp tateyama.chiba.jp tateyama.toyama.jp tatsuno.hyogo.jp tatsuno.nagano.jp tattoo tawaramoto.nara.jp tax taxi taxi.br tc tc.br tci tcm.museum tcp4.me td tdk te.it te.ua...
    Others
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 40.4K bytes
    - Viewed (0)
Back to top