- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for addUnsafeNonAscii (0.06 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt
append("; filename=") appendQuotedString(filename) } } val headers = Headers .Builder() .addUnsafeNonAscii("Content-Disposition", disposition) .build() return create(headers, body) } } } class Builder @JvmOverloads constructor(
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 10.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt
value: String, ) = commonAdd(name, value) /** * Add a header with the specified name and value. Does validation of header names, allowing * non-ASCII values. */ fun addUnsafeNonAscii( name: String, value: String, ) = apply { headersCheckName(name) addLenient(name, value) } /** * Adds all headers from an existing collection.Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 11.6K bytes - Click Count (0)