Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 795 for square (0.07 sec)

  1. 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()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. build.gradle.kts

              }
            }
            scm {
              connection.set("scm:git:https://github.com/square/okhttp.git")
              developerConnection.set("scm:git:ssh://******@****.***/square/okhttp.git")
              url.set("https://github.com/square/okhttp")
            }
            developers {
              developer {
                name.set("Square, Inc.")
              }
            }
          }
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jun 23 17:02:02 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. README.md

     [okhttp]: https://square.github.io/okhttp/
     [okio]: https://github.com/square/okio
     [post_example]: https://raw.github.com/square/okhttp/master/samples/guide/src/main/java/okhttp3/guide/PostExample.java
     [r8_proguard]: https://square.github.io/okhttp/features/r8_proguard/
     [recipes]: https://square.github.io/okhttp/recipes/
     [snap]: https://s01.oss.sonatype.org/content/repositories/snapshots/
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  4. mkdocs.yml

    site_name: OkHttp
    site_url: https://square.github.io/okhttp/
    repo_name: OkHttp
    repo_url: https://github.com/square/okhttp
    site_description: "Square’s meticulous HTTP client for the JVM, Android, and GraalVM"
    site_author: Square, Inc.
    remote_branch: gh-pages
    edit_uri: ""
    
    copyright: 'Copyright &copy; 2022 Block, Inc.'
    
    theme:
      name: 'material'
      favicon: assets/images/icon-square.png
      logo: assets/images/icon-square.png
      palette:
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Nov 20 15:26:12 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  5. 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()
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  6. 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")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/HeadersRequestTest.kt

          Request.Builder()
            .url("http://square.com/")
            .header("Connection", "upgrade")
            .header("Upgrade", "websocket")
            .header("Host", "square.com")
            .header("TE", "gzip")
            .build()
        val expected =
          headerEntries(
            ":method",
            "GET",
            ":path",
            "/",
            ":authority",
            "square.com",
            ":scheme",
            "http",
          )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. CONTRIBUTING.md

     [concurrency]: https://square.github.io/okhttp/concurrency/
     [debug_logging]: https://square.github.io/okhttp/debug_logging/
     [releasing]: https://square.github.io/okhttp/releasing/
     [security]: https://square.github.io/okhttp/security/
     [works_with_okhttp]: https://square.github.io/okhttp/works_with_okhttp/
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Feb 14 08:26:50 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. docs/contribute/contributing.md

     [concurrency]: https://square.github.io/okhttp/concurrency/
     [debug_logging]: https://square.github.io/okhttp/debug_logging/
     [releasing]: https://square.github.io/okhttp/releasing/
     [security]: https://square.github.io/okhttp/security/
     [works_with_okhttp]: https://square.github.io/okhttp/works_with_okhttp/
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Feb 14 08:26:50 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. tests/test_tuples.py

        y: float
    
    
    @app.post("/model-with-tuple/")
    def post_model_with_tuple(item_group: ItemGroup):
        return item_group
    
    
    @app.post("/tuple-of-models/")
    def post_tuple_of_models(square: Tuple[Coordinate, Coordinate]):
        return square
    
    
    @app.post("/tuple-form/")
    def hello(values: Tuple[int, int] = Form()):
        return values
    
    
    client = TestClient(app)
    
    
    def test_model_with_tuple_valid():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 11.8K bytes
    - Viewed (0)
Back to top