- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for transformers (0.24 sec)
-
okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt
import okio.FileSystem import okio.Path import okio.Path.Companion.toPath import okio.buffer import okio.gzip /** * Downloads the public suffix list from https://publicsuffix.org/list/public_suffix_list.dat and * transforms the file into an efficient format used by OkHttp. * * * The intent is to use this class to update the list periodically by manually running the main * method. This should be run from the top-level okhttp directory. *
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 18 01:24:38 GMT 2024 - 6K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseRequestInterceptor.kt
class UppercaseRequestInterceptor : Interceptor { @Throws(IOException::class) override fun intercept(chain: Chain): Response { return chain.proceed(uppercaseRequest(chain.request())) } /** Returns a request that transforms `request` to be all uppercase. */ private fun uppercaseRequest(request: Request): Request { val uppercaseBody: RequestBody = object : ForwardingRequestBody(request.body) { @Throws(IOException::class)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/CacheControl.kt
* Unsatisfiable Request` response will be returned. */ fun onlyIfCached() = commonOnlyIfCached() /** Don't accept a transformed response. */ fun noTransform() = commonNoTransform() fun immutable() = commonImmutable() /** * Sets the maximum age of a cached response. If the cache response's age exceeds [maxAge], it
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 13:41:01 GMT 2024 - 10K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/HttpUrl.kt
* * Hostnames have different requirements and use a different encoding scheme. It consists of IDNA * mapping and Punycode encoding. * * In order to avoid confusion and discourage phishing attacks, [IDNA Mapping][idna] transforms * names to avoid confusing characters. This includes basic case folding: transforming shouting * `SQUARE.COM` into cool and casual `square.com`. It also handles more exotic characters. For
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 09 12:33:05 GMT 2024 - 63.5K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/Response.kt
*/ class Response internal constructor( /** * The request that initiated this HTTP response. This is not necessarily the same request issued * by the application: * * * It may be transformed by the user's interceptors. For example, an application interceptor * may add headers like `User-Agent`. * * It may be the request generated in response to an HTTP redirect or authentication
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 23 14:31:42 GMT 2024 - 15.5K bytes - Viewed (0)