- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 126 for Reaber (0.61 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt
val result = mutableListOf<Challenge>() for (h in 0 until size) { if (headerName.equals(name(h), ignoreCase = true)) { val header = Buffer().writeUtf8(value(h)) try { header.readChallengeHeader(result) } catch (e: EOFException) { Platform.get().log("Unable to parse challenge", Platform.WARN, e) } } } return result }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HeadersTest.kt
assertFailsWith<IllegalArgumentException> { Headers.Builder().add("héader1", "value1") }.also { expected -> assertThat(expected.message) .isEqualTo("Unexpected char 0xe9 at 1 in header name: héader1") } } @Test fun builderRejectsUnicodeInHeaderValue() { assertFailsWith<IllegalArgumentException> { Headers.Builder().add("header1", "valué1") }.also { expected ->
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Protocol.kt
* * [rfc_7230]: https://tools.ietf.org/html/rfc7230 */ HTTP_1_1("http/1.1"), /** * Chromium's binary-framed protocol that includes header compression, multiplexing multiple * requests on the same socket, and server-push. HTTP/1.1 semantics are layered on SPDY/3. * * Current versions of OkHttp do not support this protocol. */
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Apr 06 04:17:33 UTC 2024 - 4.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt
.build() networkResponse.body.close() // Update the cache after combining headers but before stripping the // Content-Encoding header (as performed by initContentStream()). cache!!.trackConditionalCacheHit() cache.update(cacheResponse, response) return response.also { listener.cacheHit(call, it) }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Fri Mar 22 07:09:21 UTC 2024 - 10.2K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/EventSources.kt
@JvmStatic fun createFactory(callFactory: Call.Factory): EventSource.Factory { return EventSource.Factory { request, listener -> val actualRequest = if (request.header("Accept") == null) { request.newBuilder().addHeader("Accept", "text/event-stream").build() } else { request } RealEventSource(actualRequest, listener).apply {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Apr 06 04:18:15 UTC 2024 - 1.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/CacheControl.kt
import okhttp3.internal.commonNoStore import okhttp3.internal.commonNoTransform import okhttp3.internal.commonOnlyIfCached import okhttp3.internal.commonParse import okhttp3.internal.commonToString /** * A Cache-Control header with cache directives from a server or client. These directives set policy * on what responses can be stored, and which requests can be satisfied by those stored responses. *
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Apr 15 13:41:01 UTC 2024 - 10K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
private var state = STATE_IDLE private val headersReader = HeadersReader(source) private val Response.isChunked: Boolean get() = "chunked".equals(header("Transfer-Encoding"), ignoreCase = true) private val Request.isChunked: Boolean get() = "chunked".equals(header("Transfer-Encoding"), ignoreCase = true) /** * Received trailers. Null unless the response body uses chunked transfer-encoding and includes
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 16.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticator.kt
val credential = Credentials.basic( auth.userName, String(auth.password), challenge.charset, ) return request.newBuilder() .header(credentialHeader, credential) .build() } } return null // No challenges were satisfied! } @Throws(IOException::class) private fun Proxy.connectToInetAddress(
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cache.kt
* ``` * * The file is newline separated. The first two lines are the URL and the request method. Next * is the number of HTTP Vary request header lines, followed by those lines. * * Next is the response status line, followed by the number of HTTP response header lines, * followed by those lines. * * HTTPS responses also contain SSL session information. This begins with a blank line, and then
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 26.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/MediaType.kt
level = DeprecationLevel.ERROR, ) fun subtype(): String = subtype /** * Returns the encoded media type, like "text/plain; charset=utf-8", appropriate for use in a * Content-Type header. */ override fun toString(): String = commonToString() override fun equals(other: Any?): Boolean = commonEquals(other) override fun hashCode(): Int = commonHashCode() companion object { /**
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.2K bytes - Viewed (0)