- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for isUpgradeCode (0.05 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt
} exchange.responseHeadersEnd(response) val isUpgradeCode = code == HTTP_SWITCHING_PROTOCOLS if (isUpgradeCode && exchange.connection.isMultiplexed) { throw ProtocolException("Unexpected $HTTP_SWITCHING_PROTOCOLS code on HTTP/2 connection") } val isUpgradeResponse = isUpgradeCode && "upgrade".equals(response.header("Connection"), ignoreCase = true)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 22:04:11 UTC 2025 - 7.8K bytes - Viewed (0)