- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for Protocol (0.38 sec)
-
okhttp/src/test/java/okhttp3/URLConnectionTest.kt
platform.assumeHttp2Support() setsNegotiatedProtocolHeader(Protocol.HTTP_2) } private fun setsNegotiatedProtocolHeader(protocol: Protocol) { enableProtocol(protocol) server.enqueue( MockResponse(body = "A"), ) client = client.newBuilder() .protocols(Arrays.asList(protocol, Protocol.HTTP_1_1)) .build()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 131.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
*/ private fun enableProtocol(protocol: Protocol) { enableTls() client = client.newBuilder() .protocols(listOf(protocol, Protocol.HTTP_1_1)) .build() server.protocols = client.protocols } private fun enableTls() { client = client.newBuilder() .sslSocketFactory(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 142.5K bytes - Viewed (0) -
okhttp-android/src/main/baseline-prof.txt
HSPLokhttp3/OkHttpClient;->newBuilder()Lokhttp3/OkHttpClient$Builder; HSPLokhttp3/OkHttpClient;->newCall(Lokhttp3/Request;)Lokhttp3/Call; HSPLokhttp3/Protocol$Companion;-><init>(Landroidx/lifecycle/viewmodel/R$id;)V HSPLokhttp3/Protocol;-><clinit>()V HSPLokhttp3/Protocol;-><init>(Ljava/lang/String;ILjava/lang/String;)V HSPLokhttp3/Request$Builder;-><init>()V HSPLokhttp3/Request$Builder;-><init>(Lokhttp3/Request;)V
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Mar 21 11:22:00 GMT 2022 - 127.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheTest.kt
} /** * Test that response caching is consistent with the RI and the spec. * http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html#sec13.4 */ @Test fun responseCachingByResponseCode() { // Test each documented HTTP/1.1 code, plus the first unused value in each range. // http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html // We can't test 100 because it's not really a response.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 10 19:46:48 GMT 2024 - 108.6K bytes - Viewed (0) -
okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat
priv.at // privacytools.io : https://www.privacytools.io/ // Submitted by Jonah Aragon <******@****.***> prvcy.page // Protocol Labs : https://protocol.ai/ // Submitted by Michael Burns <noc@protocol.ai> *.dweb.link // Protonet GmbH : http://protonet.io // Submitted by Martin Meier <******@****.***> protonet.io
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 240.3K bytes - Viewed (3)