Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 93 for Case (0.16 sec)

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

        assertThat(base.resolve("")).isEqualTo(parse("http://host/a/b"))
        assertThat(base.resolve("\\path")).isEqualTo(parse("http://host/path"))
      }
    
      @Test
      fun resolveUnsupportedScheme() {
        val base = parse("http://a/")
        assertThat(base.resolve("ftp://b")).isNull()
        assertThat(base.resolve("ht+tp://b")).isNull()
        assertThat(base.resolve("ht-tp://b")).isNull()
        assertThat(base.resolve("ht.tp://b")).isNull()
    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)
  2. okhttp/src/main/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

          pattern += "."
        }
        // Hostname and pattern are now absolute domain names.
    
        pattern = pattern.asciiToLowercase()
        // Hostname and pattern are now in lower case -- domain names are case-insensitive.
    
        if ("*" !in pattern) {
          // Not a wildcard pattern -- hostname and pattern must match exactly.
          return hostname == pattern
        }
    
        // Wildcard 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)
  3. okhttp/src/main/kotlin/okhttp3/Headers.kt

      /** Returns the value at `index`. */
      fun value(index: Int): String = commonValue(index)
    
      /** Returns an immutable case-insensitive set of header names. */
      fun names(): Set<String> {
        val result = TreeSet(String.CASE_INSENSITIVE_ORDER)
        for (i in 0 until size) {
          result.add(name(i))
        }
        return Collections.unmodifiableSet(result)
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  4. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.kt

        fileSystem.read(file) {
          return readStory(this)
        }
      }
    
      /** Iterate through the hpack-test-case resources, only picking stories for the current draft.  */
      fun storiesForCurrentDraft(): Array<String> {
        val resource =
          HpackJsonUtil::class.java.getResource("/hpack-test-case")
            ?: return arrayOf()
    
        val testCaseDirectory = File(resource.toURI()).toOkioPath()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

              var q = delta
    
              for (k in BASE until Int.MAX_VALUE step BASE) {
                val t =
                  when {
                    k <= bias -> TMIN
                    k >= bias + TMAX -> TMAX
                    else -> k - bias
                  }
                if (q < t) break
                result.writeByte((t + ((q - t) % (BASE - t))).punycodeDigit)
                q = (q - t) / (BASE - t)
              }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 03 03:04:50 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt

        @Throws(IOException::class)
        fun parse(responseHeaders: Headers): WebSocketExtensions {
          // Note that this code does case-insensitive comparisons, even though the spec doesn't specify
          // whether extension tokens and parameters are case-insensitive or not.
    
          var compressionEnabled = false
          var clientMaxWindowBits: Int? = null
          var clientNoContextTakeover = false
    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)
  7. okhttp/src/test/resources/okhttp3/internal/idn/rfc3454.B.2.txt

       0042; 0062; Case map
       0043; 0063; Case map
       0044; 0064; Case map
       0045; 0065; Case map
       0046; 0066; Case map
       0047; 0067; Case map
       0048; 0068; Case map
       0049; 0069; Case map
       004A; 006A; Case map
       004B; 006B; Case map
       004C; 006C; Case map
       004D; 006D; Case map
       004E; 006E; Case map
       004F; 006F; Case map
       0050; 0070; Case map
       0051; 0071; Case map
       0052; 0072; Case map
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 38.8K bytes
    - Viewed (0)
  8. okhttp-logging-interceptor/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.logging",
      "Automatic-Module-Name: okhttp3.logging",
      "Bundle-SymbolicName: com.squareup.okhttp3.logging"
    )
    
    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
    - 842 bytes
    - Viewed (0)
  9. okhttp-urlconnection/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(
      "Fragment-Host: com.squareup.okhttp3; bundle-version=\"\${range;[==,+);\${version_cleanup;${projects.okhttp.version}}}\"",
      "Automatic-Module-Name: okhttp3.urlconnection",
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Nov 20 16:20:29 GMT 2023
    - 764 bytes
    - Viewed (0)
  10. okhttp-tls/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")
      id("ru.vyarus.animalsniffer")
    }
    
    project.applyOsgi(
      "Export-Package: okhttp3.tls",
      "Automatic-Module-Name: okhttp3.tls",
      "Bundle-SymbolicName: com.squareup.okhttp3.tls"
    )
    
    dependencies {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 06 05:31:00 GMT 2024
    - 1K bytes
    - Viewed (0)
Back to top