Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 229 for com (0.12 sec)

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

        assertThat(certificatePinner.findMatchingPins("notexample.com")).isEmpty()
        assertThat(certificatePinner.findMatchingPins("example.com")).isEmpty()
        assertThat(certificatePinner.findMatchingPins("a.b.example.com")).isEmpty()
        assertThat(certificatePinner.findMatchingPins("ple.com")).isEmpty()
        assertThat(certificatePinner.findMatchingPins("com")).isEmpty()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

     *    number of prefixes (`us-west.www.publicobject.com`, `www.publicobject.com`) including no
     *    prefix at all (`publicobject.com`). For most applications this is the best way to configure
     *    certificate pinning.
     *
     *  * **Exactly one subdomain**: Use a single asterisk like `*.publicobject.com` to match exactly
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.2K bytes
    - Viewed (1)
  3. okhttp/src/main/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

        // to the server certificate.
        //   www.android.com  matches www.android.com
        //   www.android.com  matches www.android.com.
        //   www.android.com. matches www.android.com.
        //   www.android.com. matches www.android.com
        if (!hostname.endsWith(".")) {
          hostname += "."
        }
        if (!pattern.endsWith(".")) {
          pattern += "."
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  4. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

              "2c100000e10000003840012750000000e10",
          ),
        )
        try {
          dns.lookup("google.com")
          fail<Any>()
        } catch (uhe: UnknownHostException) {
          assertThat(uhe.message).isEqualTo("google.com: NXDOMAIN")
        }
        val recordedRequest = server.takeRequest()
        assertThat(recordedRequest.method).isEqualTo("GET")
        assertThat(recordedRequest.path)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 11K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/TestTls13Request.kt

          "https://h2o.examp1e.net",
          "https://mew.org/",
          "https://tls13.baishancloud.com/",
          "https://tls13.akamai.io/",
          "https://swifttls.org/",
          "https://www.googleapis.com/robots.txt",
          "https://graph.facebook.com/robots.txt",
          "https://api.twitter.com/robots.txt",
          "https://connect.squareup.com/robots.txt",
        )
    
      println("TLS1.3+TLS1.2")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3K bytes
    - Viewed (0)
  6. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

     */
    package okhttp.android.test
    
    import android.os.Build
    import androidx.test.platform.app.InstrumentationRegistry
    import com.google.android.gms.common.GooglePlayServicesNotAvailableException
    import com.google.android.gms.security.ProviderInstaller
    import com.squareup.moshi.Moshi
    import com.squareup.moshi.kotlin.reflect.KotlinJsonAdapterFactory
    import java.io.IOException
    import java.net.InetAddress
    import java.net.UnknownHostException
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 27K bytes
    - Viewed (1)
  7. okcurl/build.gradle.kts

    import com.vanniktech.maven.publish.JavadocJar
    import com.vanniktech.maven.publish.KotlinJvm
    import org.apache.tools.ant.taskdefs.condition.Os
    
    plugins {
      kotlin("jvm")
      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("com.palantir.graal")
      id("com.github.johnrengelman.shadow")
    }
    
    val copyResourcesTemplates = tasks.register<Copy>("copyResourcesTemplates") {
      from("src/main/resources-templates")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 1.8K bytes
    - Viewed (1)
  8. android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt

          Request.Builder()
            .url("https://sni.cloudflaressl.com/cdn-cgi/trace")
            .header("Host", "cloudflare-dns.com")
            .build()
        client.newCall(request).execute().use { response ->
          assertThat(response.code).isEqualTo(200)
          assertThat(response.protocol).isEqualTo(Protocol.HTTP_2)
    
          assertThat(response.body.string()).contains("h=cloudflare-dns.com")
        }
      }
    
      @Test
      fun getWithDns() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  9. docs/releasing.md

        sed -i "" \
          "s/version = \".*\"/version = \"$RELEASE_VERSION\"/g" \
          build.gradle.kts
        sed -i "" \
          "s/\"com.squareup.okhttp3:\([^\:]*\):[^\"]*\"/\"com.squareup.okhttp3:\1:$RELEASE_VERSION\"/g" \
          `find . -name "README.md"`
        sed -i "" \
          "s/\/com.squareup.okhttp3\/\([^\:]*\)\/[^\/]*\//\/com.squareup.okhttp3\/\1\/$RELEASE_VERSION\//g" \
          `find . -name "README.md"`
        ```
    
    4. Tag the release and push to GitHub.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Dec 26 22:07:16 GMT 2022
    - 1.5K bytes
    - Viewed (0)
  10. okhttp-sse/build.gradle.kts

    import com.vanniktech.maven.publish.JavadocJar
    import com.vanniktech.maven.publish.KotlinJvm
    
    plugins {
      kotlin("jvm")
      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
    }
    
    project.applyOsgi(
      "Export-Package: okhttp3.sse",
      "Automatic-Module-Name: okhttp3.sse",
      "Bundle-SymbolicName: com.squareup.okhttp3.sse"
    )
    
    dependencies {
      api(projects.okhttp)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Jan 04 05:32:07 GMT 2024
    - 754 bytes
    - Viewed (1)
Back to top