- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for isSensitiveHeader (0.23 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HeadersCommon.kt
internal fun Headers.commonToString(): String = buildString { for (i in 0 until size) { val name = name(i) val value = value(i) append(name) append(": ") append(if (isSensitiveHeader(name)) "██" else value) append("\n") } } internal fun commonHeadersGet( namesAndValues: Array<String>, name: String, ): String? { for (i in namesAndValues.size - 2 downTo 0 step 2) {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon May 05 16:01:00 GMT 2025 - 5.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
if (c <= '\u001f' || c >= '\u007f') { return i } } return -1 } /** Returns true if we should void putting this this header in an exception or toString(). */ internal fun isSensitiveHeader(name: String): Boolean = name.equals("Authorization", ignoreCase = true) || name.equals("Cookie", ignoreCase = true) || name.equals("Proxy-Authorization", ignoreCase = true) ||
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon May 05 16:01:00 GMT 2025 - 10.1K bytes - Click Count (0)