Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isSensitiveHeader (0.05 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

    import okhttp3.internal.EmptyTags
    import okhttp3.internal.Tags
    import okhttp3.internal.http.GzipRequestBody
    import okhttp3.internal.http.HttpMethod
    import okhttp3.internal.isProbablyUtf8
    import okhttp3.internal.isSensitiveHeader
    import okio.Buffer
    
    /**
     * An HTTP request. Instances of this class are immutable if their [body] is null or itself
     * immutable.
     */
    class Request internal constructor(
      builder: Builder,
    ) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 13:46:58 UTC 2025
    - 14.7K bytes
    - Viewed (1)
  2. 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) ||
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
Back to top