Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for Square (0.22 sec)

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

      fun nullRemovesTag() {
        val request =
          Request.Builder()
            .url("https://square.com")
            .tag("a")
            .tag(null)
            .build()
        assertThat(request.tag()).isNull()
      }
    
      @Test
      fun removeAbsentTag() {
        val request =
          Request.Builder()
            .url("https://square.com")
            .tag(null)
            .build()
        assertThat(request.tag()).isNull()
      }
    
    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)
  2. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    @Flaky
    @Tag("Slow")
    class WebSocketHttpTest {
      // Flaky https://github.com/square/okhttp/issues/4515
      // Flaky https://github.com/square/okhttp/issues/4953
      @RegisterExtension
      var clientTestRule = configureClientTestRule()
    
      @RegisterExtension
      var platform = PlatformRule()
    
      @RegisterExtension
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 35.2K bytes
    - Viewed (1)
  3. docs/features/https.md

          }
        ```
    
     [CustomTrustJava]: https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/CustomTrust.java
     [CustomTrustKotlin]: https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/kt/CustomTrust.kt
     [CertificatePinningJava]: https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/CertificatePinning.java
    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)
  4. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

        assertThat(publicSuffixDatabase.getEffectiveTldPlusOne("foo.bar.square.com"))
          .isEqualTo("bar.square.com")
        assertThat(publicSuffixDatabase.getEffectiveTldPlusOne("foo.my.square.com"))
          .isEqualTo("foo.my.square.com")
      }
    
      @Test fun wildcardMatch() {
        val buffer =
          Buffer()
            .writeUtf8("*.square.com\n")
            .writeUtf8("com\n")
            .writeUtf8("example.com\n")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/RequestCommonTest.kt

      fun nullRemovesTag() {
        val request =
          Request.Builder()
            .url("https://square.com")
            .tag("a" as Any)
            .tag(null)
            .build()
        assertThat(request.tag<Any>()).isNull()
      }
    
      @Test
      fun removeAbsentTag() {
        val request =
          Request.Builder()
            .url("https://square.com")
            .tag(null)
            .build()
        assertThat(request.tag<String>()).isNull()
    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)
  6. docs/recipes.md

     [AccessHeadersJava]: https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/AccessHeaders.java
     [AccessHeadersKotlin]: https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/kt/AccessHeaders.kt
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Feb 18 08:52:22 GMT 2022
    - 40.2K bytes
    - Viewed (1)
  7. docs/changelogs/changelog_4x.md

     [okio.FileSystem]: https://square.github.io/okio/file_system/
     [okio_2_6_0]: https://square.github.io/okio/changelog/#version-260
     [okio_2_7_0]: https://square.github.io/okio/changelog/#version-270
     [okio_3_0_0]: https://square.github.io/okio/changelog/#version-300
     [okio_3_2_0]: https://square.github.io/okio/changelog/#version-320
     [okio_3_6_0]: https://square.github.io/okio/changelog/#version-360
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/WholeOperationTimeoutTest.kt

    /*
     * Copyright (C) 2018 Square, Inc.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    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)
  9. okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt

       * https://github.com/square/okhttp/issues/5667
       */
      @Test
      fun hostToUriStripsCharacters() {
        val httpUrl = "http://example\".com/".toHttpUrl()
        assertThat(httpUrl.toUri().toString()).isEqualTo("http://example.com/")
      }
    
      /** Confirm that URI retains other characters. https://github.com/square/okhttp/issues/5236 */
      @Test
      fun hostToUriStripsCharacters2() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  10. CHANGELOG.md

    [okio_2_9_0]: https://square.github.io/okio/changelog/#version-290
    [okio_3_0_0]: https://square.github.io/okio/changelog/#version-300
    [okio_3_1_0]: https://square.github.io/okio/changelog/#version-310
    [okio_3_2_0]: https://square.github.io/okio/changelog/#version-320
    [okio_3_7_0]: https://square.github.io/okio/changelog/#version-370
    [okio_3_9_0]: https://square.github.io/okio/changelog/#version-390
    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)
Back to top