Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for Identity (0.26 sec)

  1. okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt

        )
        assertThat(callbacks.remove()).isEqualTo(22L)
      }
    
      @Test
      fun namePrefixIgnored() {
        consumeEvents(
          """
          |data: a
          |eventually
          |database
          |identity
          |retrying
          |
          |
          """.trimMargin(),
        )
        assertThat(callbacks.remove()).isEqualTo(Event(null, null, "a"))
      }
    
      @Test
      fun nakedNameClearsIdAndTypeAppendsData() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  2. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

        }
    
        private fun bodyHasUnknownEncoding(headers: Headers): Boolean {
          val contentEncoding = headers["Content-Encoding"] ?: return false
          return !contentEncoding.equals("identity", ignoreCase = true) &&
            !contentEncoding.equals("gzip", ignoreCase = true)
        }
    
        private fun bodyIsStreaming(response: Response): Boolean {
          val contentType = response.body.contentType()
    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/HttpUrlTest.kt

          .override(Encoding.IDENTITY, '?'.code, '`'.code)
          .override(Encoding.PERCENT, '\''.code)
          .override(Encoding.SKIP, '#'.code, '+'.code)
          .test(UrlComponentEncodingTester.Component.QUERY_VALUE)
      }
    
      @Test
      fun fragmentCharacters() {
        UrlComponentEncodingTester.newInstance()
          .override(
            Encoding.IDENTITY,
            ' '.code,
            '"'.code,
    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)
  4. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

      fun getContentEncodingConnects() {
        server.enqueue(
          MockResponse(
            headers = headersOf("Content-Encoding", "identity"),
            body = "ABC",
          ),
        )
        val response = getResponse(newRequest("/"))
        assertThat(response.header("Content-Encoding")).isEqualTo("identity")
        response.body.close()
      }
    
      @Test
      fun urlContainsQueryButNoPath() {
        server.enqueue(
    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)
  5. okhttp-tls/README.md

        .build();
    ```
    
    Client Authentication
    ---------------------
    
    The above scenario is representative of most TLS set ups: the client uses certificates to validate
    the identity of a server. The converse is also possible. Here we create a server that authenticates
    a client and a client that authenticates a server.
    
    ```java
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 9.1K bytes
    - Viewed (1)
  6. okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt

        assertThat(url.host).startsWith(Punycode.PREFIX_STRING)
      }
    
      enum class Encoding {
        IDENTITY {
          override fun encode(codePoint: Int): String {
            return String(codePoint)
          }
        },
        PERCENT {
          override fun encode(codePoint: Int): String {
            val utf8 = IDENTITY.encode(codePoint).encodeUtf8()
            val percentEncoded = Buffer()
            for (i in 0 until utf8.size) {
    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)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

        fun build(): HeldCertificate {
          // Subject keys & identity.
          val subjectKeyPair = keyPair ?: generateKeyPair()
          val subjectPublicKeyInfo =
            CertificateAdapters.subjectPublicKeyInfo.fromDer(
              subjectKeyPair.public.encoded.toByteString(),
            )
          val subject: List<List<AttributeTypeAndValue>> = subject()
    
          // Issuer/signer keys & identity. May be the subject if it is self-signed.
    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)
  8. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    // bike : 2013-08-27 Binky Moon, LLC
    bike
    
    // bing : 2014-12-18 Microsoft Corporation
    bing
    
    // bingo : 2014-12-04 Binky Moon, LLC
    bingo
    
    // bio : 2014-03-06 Identity Digital Limited
    bio
    
    // black : 2014-01-16 Identity Digital Limited
    black
    
    // blackfriday : 2014-01-16 Registry Services, LLC
    blackfriday
    
    // blockbuster : 2015-07-30 Dish DBS Corporation
    blockbuster
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 240.3K bytes
    - Viewed (3)
  9. okhttp/src/test/java/okhttp3/osgi/OsgiTest.kt

        // available in the repository.
        val runRequireString =
          REQUIRED_BUNDLES.joinToString(separator = ",") {
            "osgi.identity;filter:='(osgi.identity=$it)'"
          }
    
        val bndEditModel =
          BndEditModel(workspace).apply {
            // Temporary project to satisfy bnd API.
            project = Project(workspace, workspaceDir.toFile())
          }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  10. docs/contribute/code_of_conduct.md

    our best to right the wrong.
    
    Although this list cannot be exhaustive, we explicitly honor diversity in age, culture, ethnicity,
    gender identity or expression, language, national origin, political beliefs, profession, race,
    religion, sexual orientation, socioeconomic status, and technical ability. We will not tolerate
    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)
Back to top