Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for addLenient (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

              networkHeaders[fieldName] == null
            ) {
              result.addLenient(fieldName, value)
            }
          }
    
          for (index in 0 until networkHeaders.size) {
            val fieldName = networkHeaders.name(index)
            if (!isContentSpecificHeader(fieldName) && isEndToEnd(fieldName)) {
              result.addLenient(fieldName, networkHeaders.value(index))
            }
          }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Jan 11 12:06:21 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

            val varyHeadersBuilder = Headers.Builder()
            val varyRequestHeaderLineCount = readInt(source)
            for (i in 0 until varyRequestHeaderLineCount) {
              varyHeadersBuilder.addLenient(source.readUtf8LineStrict())
            }
            varyHeaders = varyHeadersBuilder.build()
    
            val statusLine = StatusLine.parse(source.readUtf8LineStrict())
            protocol = statusLine.protocol
    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)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

      return millis.toInt()
    }
    
    internal fun List<Header>.toHeaders(): Headers {
      val builder = Headers.Builder()
      for ((name, value) in this) {
        builder.addLenient(name.utf8(), value.utf8())
      }
      return builder.build()
    }
    
    internal fun Headers.toHeaderList(): List<Header> =
      (0 until size).map {
        Header(name(it), value(it))
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 10.3K bytes
    - Click Count (1)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt

              return CacheStrategy(request, null)
            } // No condition! Make a regular request.
          }
    
          val conditionalRequestHeaders = request.headers.newBuilder()
          conditionalRequestHeaders.addLenient(conditionName, conditionValue!!)
    
          val conditionalRequest =
            request
              .newBuilder()
              .headers(conditionalRequestHeaders.build())
              .build()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 12.1K bytes
    - Click Count (0)
Back to Top