- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for ignoreCase (0.04 sec)
-
android/guava-tests/test/com/google/common/io/BaseEncodingTest.java
BaseEncoding ignoreCase = base16().ignoreCase(); assertThat(ignoreCase).isNotSameInstanceAs(base16()); assertThat(ignoreCase).isSameInstanceAs(base16().ignoreCase()); testEncodingWithCasing(ignoreCase, "foobar", "666F6F626172"); testDecodes(ignoreCase, "666F6F626172", "foobar"); testDecodes(ignoreCase, "666f6f626172", "foobar"); testDecodes(ignoreCase, "666F6f626172", "foobar"); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/BaseEncodingTest.java
BaseEncoding ignoreCase = base16().ignoreCase(); assertThat(ignoreCase).isNotSameInstanceAs(base16()); assertThat(ignoreCase).isSameInstanceAs(base16().ignoreCase()); testEncodingWithCasing(ignoreCase, "foobar", "666F6F626172"); testDecodes(ignoreCase, "666F6F626172", "foobar"); testDecodes(ignoreCase, "666f6f626172", "foobar"); testDecodes(ignoreCase, "666F6f626172", "foobar"); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt
} }, ).build() } } if ("close".equals(response.request.header("Connection"), ignoreCase = true) || "close".equals(response.header("Connection"), ignoreCase = true) ) { exchange.noNewExchangesOnConnection() } if ((code == 204 || code == 205) && response.body.contentLength() > 0L) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 22:04:11 UTC 2025 - 7.8K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
private fun bodyHasUnknownEncoding(headers: Headers): Boolean { val contentEncoding = headers["Content-Encoding"] ?: return false return !contentEncoding.equals("identity", ignoreCase = true) && !contentEncoding.equals("gzip", ignoreCase = true) } private fun bodyIsStreaming(response: Response): Boolean { val contentType = response.body.contentType()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 11.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CompressionInterceptor.kt
.build() } internal fun lookupDecompressor(encoding: String): DecompressionAlgorithm? = algorithms.find { it.encoding.equals(encoding, ignoreCase = true) } /** * A decompression algorithm such as Gzip. Must provide the Accept-Encoding value and decompress a Source. */ interface DecompressionAlgorithm { val encoding: String
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Aug 01 06:04:22 UTC 2025 - 3.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt
// Silently replace web socket URLs with HTTP URLs. private fun canonicalUrl(url: String) = when { url.startsWith("ws:", ignoreCase = true) -> "http:${url.substring(3)}" url.startsWith("wss:", ignoreCase = true) -> "https:${url.substring(4)}" else -> url } /** * Sets the URL target of this request. *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 13.1K bytes - Viewed (1) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
private val headersReader = HeadersReader(socket.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) /** * Trailers received when the response body became exhausted. *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 17.5K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
} var reuseSocket = true val requestWantsSocket = "Upgrade".equals(request.headers["Connection"], ignoreCase = true) val requestWantsWebSocket = requestWantsSocket && "websocket".equals(request.headers["Upgrade"], ignoreCase = true) val responseWantsSocket = response.socketHandler != null val responseWantsWebSocket = response.webSocketListener != null
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 02 20:36:00 UTC 2025 - 40.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt
if (!"Upgrade".equals(headerConnection, ignoreCase = true)) { throw ProtocolException( "Expected 'Connection' header value 'Upgrade' but was '$headerConnection'", ) } val headerUpgrade = response.header("Upgrade") if (!"websocket".equals(headerUpgrade, ignoreCase = true)) { throw ProtocolException(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 21.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt
nextRequest = route.address.proxyAuthenticator.authenticate(route, response) ?: throw IOException("Failed to authenticate with proxy") if ("close".equals(response.header("Connection"), ignoreCase = true)) { return nextRequest } } else -> throw IOException("Unexpected response code for CONNECT: ${response.code}") } } } /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 18.6K bytes - Viewed (0)