Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 40 for ignore_case (0.09 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/BridgeInterceptor.kt

        val responseBuilder =
          networkResponse
            .newBuilder()
            .request(networkRequest)
    
        if (transparentGzip &&
          "gzip".equals(networkResponse.header("Content-Encoding"), ignoreCase = true) &&
          networkResponse.promisesBody()
        ) {
          val responseBody = networkResponse.body
          val gzipSource = GzipSource(responseBody.source())
          val strippedHeaders =
            networkResponse.headers
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Jan 11 12:06:21 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

      private val headersReader = HeadersReader(socket.source)
    
      private val Response.isChunked: Boolean
        get() = "chunked".equals(header("Transfer-Encoding"), ignoreCase = true)
    
      private val Request.isChunked: Boolean
        get() = "chunked".equals(header("Transfer-Encoding"), ignoreCase = true)
    
      /**
       * Trailers received when the response body became exhausted.
       *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 17.6K bytes
    - Click Count (7)
  3. okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt

            "Comodo",
            "Sectigo",
            "GeoTrust",
            "Entrust",
          )
        assertThat(names).matchesPredicate { strings ->
          strings.any { name -> majorIssuers.any { issuer -> name.contains(issuer, ignoreCase = true) } }
        }
      }
    
      private fun startTlsServer(): InetSocketAddress {
        val serverSocketFactory = ServerSocketFactory.getDefault()
        serverSocket = serverSocketFactory.createServerSocket()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 08:16:15 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt

       * such a parameter.
       */
      fun parameter(name: String): String? {
        for (i in parameterNamesAndValues.indices step 2) {
          if (parameterNamesAndValues[i].equals(name, ignoreCase = true)) {
            return parameterNamesAndValues[i + 1]
          }
        }
        return null
      }
    
      @JvmName("-deprecated_type")
      @Deprecated(
        message = "moved to val",
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt

              val domainName = fromSource.readUtf8(domainNameLength.toLong())
              // Resolve HOSTNAME_THAT_ONLY_THE_PROXY_KNOWS to localhost.
              when {
                domainName.equals(HOSTNAME_THAT_ONLY_THE_PROXY_KNOWS, ignoreCase = true) -> {
                  InetAddress.getByName("localhost")
                }
    
                else -> {
                  InetAddress.getByName(domainName)
                }
              }
            }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

        if (!"Upgrade".equals(headerConnection, ignoreCase = true)) {
          throw ProtocolException(
            "Expected 'Connection' header value 'Upgrade' but was '$headerConnection'",
          )
        }
    
        val headerUpgrade = response.header("Upgrade")
        if (!"websocket".equals(headerUpgrade, ignoreCase = true)) {
          throw ProtocolException(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/Punycode.kt

       */
      private fun decodeLabel(
        string: String,
        pos: Int,
        limit: Int,
        result: Buffer,
      ): Boolean {
        if (!string.regionMatches(pos, PREFIX_STRING, 0, 4, ignoreCase = true)) {
          result.writeUtf8(string, pos, limit)
          return true
        }
    
        var pos = pos + 4 // 'xn--'.size.
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

              nextRequest = route.address.proxyAuthenticator.authenticate(route, response)
                ?: throw IOException("Failed to authenticate with proxy")
    
              if ("close".equals(response.header("Connection"), ignoreCase = true)) {
                return nextRequest
              }
            }
    
            else -> {
              throw IOException("Unexpected response code for CONNECT: ${response.code}")
            }
          }
        }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 19.3K bytes
    - Click Count (2)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

         */
        private fun Headers.varyFields(): Set<String> {
          var result: MutableSet<String>? = null
          for (i in 0 until size) {
            if (!"Vary".equals(name(i), ignoreCase = true)) {
              continue
            }
    
            val value = value(i)
            if (result == null) {
              result = TreeSet(String.CASE_INSENSITIVE_ORDER)
            }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  10. RELEASE.md

                `use_causal_mask=True` will compute a causal attention mask, and
                optionally combine it with any `attention_mask` passed in directly
                when calling the layer.
        *   Added `ignore_class` argument in the loss
            `SparseCategoricalCrossentropy` and metrics `IoU` and `MeanIoU`, to
            specify a class index to be ignored during loss/metric computation (e.g.
            a background/void class).
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Mar 30 18:31:38 GMT 2026
    - 746.5K bytes
    - Click Count (3)
Back to Top