Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for commonHead (0.1 sec)

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

    import okhttp3.internal.commonAddHeader
    import okhttp3.internal.commonCacheControl
    import okhttp3.internal.commonDelete
    import okhttp3.internal.commonEmptyRequestBody
    import okhttp3.internal.commonGet
    import okhttp3.internal.commonHead
    import okhttp3.internal.commonHeader
    import okhttp3.internal.commonHeaders
    import okhttp3.internal.commonMethod
    import okhttp3.internal.commonPatch
    import okhttp3.internal.commonPost
    import okhttp3.internal.commonPut
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:17:44 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-RequestCommon.kt

      return when {
        value.isEmpty() -> removeHeader("Cache-Control")
        else -> header("Cache-Control", value)
      }
    }
    
    fun Request.Builder.commonGet(): Request.Builder = method("GET", null)
    
    fun Request.Builder.commonHead(): Request.Builder = method("HEAD", null)
    
    fun Request.Builder.commonPost(body: RequestBody): Request.Builder = method("POST", body)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top