- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 239 for HEADERS (0.03 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.http import java.io.IOException import java.net.ProtocolException import okhttp3.Headers import okhttp3.Interceptor import okhttp3.Response import okhttp3.TrailersSource import okhttp3.internal.UnreadableResponseBody import okhttp3.internal.http2.ConnectionShutdownException import okhttp3.internal.skipAll
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Oct 30 13:46:58 UTC 2025 - 7.6K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerAdapter.kt
System.nanoTime(), call, ), ) override fun requestHeadersEnd( call: Call, request: Request, ) = onEvent(RequestHeadersEnd(System.nanoTime(), call, request.headers.byteCount())) override fun requestBodyStart(call: Call) = onEvent( RequestBodyStart( System.nanoTime(), call, ), ) override fun requestBodyEnd(
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 7.1K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/Story.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.http2.hpackjson /** * Representation of one story, a set of request headers to encode or decode. This class is used * reflectively with Moshi to parse stories from files. */ data class Story( val description: String? = null, val cases: List<Case>, val fileName: String? = null, ) {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/SynchronousGet.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt
import okhttp3.CallEvent.ResponseBodyEnd import okhttp3.CallEvent.ResponseBodyStart import okhttp3.CallEvent.ResponseHeadersEnd import okhttp3.CallEvent.ResponseHeadersStart import okhttp3.EventRecorder import okhttp3.Headers.Companion.headersOf import okhttp3.OkHttpClientTestRule import okhttp3.Protocol import okhttp3.RecordingHostnameVerifier import okhttp3.Request import okhttp3.RequestBody import okhttp3.RequestBody.Companion.toRequestBody
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 9.6K bytes - Viewed (0) -
docs/changelogs/changelog_1x.md
certain eviction scenarios, leading to dropped response headers. ## Version 1.5.1 _2014-03-11_ * Fix 1.5.0 regression where connections should not have been recycled. * Fix 1.5.0 regression where transparent Gzip was broken by attempting to recover from another I/O failure. * Fix problems where spdy/3.1 headers may not have been compressed properly.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 6.4K bytes - Viewed (0) -
maven-tests/src/test/java/com/squareup/okhttp3/maventest/AppTest.java
import mockwebserver3.MockWebServer; import okhttp3.Headers; import org.junit.Test; import java.io.IOException; /** * Unit test for simple App. */ public class AppTest { private final MockWebServer mockWebServer = new MockWebServer(); @Test public void testApp() throws IOException { mockWebServer.enqueue(new MockResponse(200, Headers.of(), "Hello, Maven!")); mockWebServer.start();Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Jul 12 12:05:57 UTC 2025 - 1.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/BridgeInterceptor.kt
val gzipSource = GzipSource(responseBody.source()) val strippedHeaders = networkResponse.headers .newBuilder() .removeAll("Content-Encoding") .removeAll("Content-Length") .build() responseBuilder.headers(strippedHeaders) val contentType = networkResponse.header("Content-Type")
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionListenerTest.kt
import java.util.Arrays import java.util.concurrent.TimeUnit import kotlin.test.assertFailsWith import mockwebserver3.MockResponse import mockwebserver3.MockWebServer import mockwebserver3.junit5.StartStop import okhttp3.Headers.Companion.headersOf import okhttp3.internal.DoubleInetAddressDns import okhttp3.internal.connection.RealConnectionPool.Companion.get import okhttp3.testing.Flaky import okhttp3.testing.PlatformRule
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 18:33:48 UTC 2025 - 9.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 03 17:41:45 UTC 2025 - 116.8K bytes - Viewed (0)