- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 151 for schemes (0.04 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/HeadersRequestTest.kt
.header("TE", "gzip") .build() val expected = headerEntries( ":method", "GET", ":path", "/", ":authority", "square.com", ":scheme", "http", ) assertThat(http2HeadersList(request)).isEqualTo(expected) } @Test fun http2HeadersListDontDropTeIfTrailersHttp2() { val request = Request .Builder()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.5K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/RecordedRequestFactory.kt
connectionIndex: Int, exchangeIndex: Int, socket: MockWebServerSocket, failure: IOException? = null, ): RecordedRequest { val requestUrl = when (requestLine.method) { "CONNECT" -> "${socket.scheme}://${requestLine.target}/".toHttpUrlOrNull() else -> null } ?: requestLine.target.toHttpUrlOrNull() ?: requestUrl(socket, requestLine, headers) return RecordedRequest(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 12:43:16 UTC 2025 - 3.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt
while (true) { if (peek == null) { peek = readToken() if (skipCommasAndWhitespace()) break // We peeked a scheme name followed by ','. eqCount = skipAll('='.code.toByte()) } if (eqCount == 0) break // We peeked a scheme name. if (eqCount > 1) return // Unexpected '=' characters. if (skipCommasAndWhitespace()) return // Unexpected ','.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 7.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt
val parse: CacheControl = CacheControl.parse(Headers.of()) } @Test @Disabled fun challenge() { val challenge = Challenge("", mapOf("" to "")) val scheme: String = challenge.scheme() val authParams: Map<String?, String> = challenge.authParams() val realm: String? = challenge.realm() val charset: Charset = challenge.charset() } @Test @Disabled
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 13.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/xml/SchemaUtil.java
* * @param schema * {@link Source} to load the W3C XML Schema. Must not be {@literal null}. * @return {@link Schema} */ public static Schema newW3cXmlSchema(final Source schema) { assertArgumentNotNull("schema", schema); return newSchema(SchemaFactoryUtil.newW3cXmlSchemaFactory(), schema); } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 38.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/net/URLUtil.java
/** * Converts a string into <code>application/x-www-form-urlencoded</code> * format using the specified encoding scheme. * * @param s * The string to be converted. Must not be {@literal null} or empty. * @param enc * The encoding scheme. Must not be {@literal null} or empty. * @return The string encoded in <code>application/x-www-form-urlencoded</code> format. */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 6.8K bytes - Viewed (0) -
regression-test/src/main/AndroidManifest.xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="okhttp.android.regression"> <uses-permission android:name="android.permission.INTERNET" /> <!-- For HttpEngine --> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Mar 23 11:14:34 UTC 2024 - 291 bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Authenticator.kt
* // If this is preemptive auth, use a preemptive credential. * if (challenge.scheme().equalsIgnoreCase("OkHttp-Preemptive")) { * return response.request().newBuilder() * .header("Proxy-Authorization", "secret") * .build(); * } * } * return null; // Didn't find a preemptive auth scheme. * ``` * * ## Reactive Authentication *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Protocol.kt
*/ package okhttp3 import okio.IOException /** * Protocols that OkHttp implements for [ALPN][ietf_alpn] selection. * * ## Protocol vs Scheme * * Despite its name, [java.net.URL.getProtocol] returns the [scheme][java.net.URI.getScheme] (http, * https, etc.) of the URL, not the protocol (http/1.1, spdy/3.1, etc.). OkHttp uses the word * *protocol* to identify how HTTP messages are framed. *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jun 23 18:58:57 UTC 2025 - 4.4K bytes - Viewed (0)