- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 197 for bodies (0.08 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt
* bodies may only be used with HTTP/2. Calls to HTTP/1 servers will fail before the HTTP request * is transmitted. If you cannot ensure that your client and server both support HTTP/2, do not * use this feature. * * ### Duplex APIs * * With regular request bodies it is not legal to write bytes to the sink passed to
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 14:16:29 UTC 2025 - 9.3K bytes - Viewed (0) -
CHANGELOG.md
than 63 characters between dots), and empty labels. * New: Don't include the `Content-Length` header in multipart bodies. Servers must delimit OkHttp's request bodies using the boundary only. (This change makes OkHttp more consistent with browsers and other HTTP clients.) * New: Drop the `tunnelProxy` argument in `MockWebServer.useHttps()`. This change only impacts
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 05 16:02:59 UTC 2025 - 36.2K bytes - Viewed (2) -
README.md
- Support for query parameters, headers, body (String or stream), compression, SSL configuration, proxies, and timeouts - Automatic in-memory or on-disk caching of request/response bodies - Synchronous and asynchronous (callback) execution - Minimal dependencies (only Apache Commons IO) ## Installation ### Maven Add the dependency to your `pom.xml` (replace `x.y.z` with the latest version):
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 2.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
if (closed) return closed = true detachTimeout(timeout) state = STATE_READ_RESPONSE_HEADERS } } /** * An HTTP body with alternating chunk sizes and chunk bodies. It is the caller's responsibility * to buffer chunks; typically by using a buffered sink with this sink. */ private inner class ChunkedSink : Sink { private val timeout = ForwardingTimeout(socket.sink.timeout())
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 17.5K bytes - Viewed (7) -
okhttp-logging-interceptor/README.md
``` **Warning**: The logs generated by this interceptor when using the `HEADERS` or `BODY` levels have the potential to leak sensitive information such as "Authorization" or "Cookie" headers and the contents of request and response bodies. This data should only be logged in a controlled way or in a non-production environment. You can redact headers that may contain sensitive information by calling `redactHeader()`. ```java
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Oct 30 21:39:59 UTC 2025 - 1.3K bytes - Viewed (0) -
CLAUDE.md
- **`org.codelibs.curl.CurlException`**: Unchecked exception for HTTP errors ### I/O Layer - **`org.codelibs.curl.io.ContentCache`**: Handles automatic in-memory or on-disk caching of request/response bodies - **`org.codelibs.curl.io.ContentOutputStream`**: Streaming utilities for efficient content handling ### Key Design Patterns 1. **Fluent Builder Pattern**: `CurlRequest` uses method chaining for configuration
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 3.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt
val mockResponse = MockResponse .Builder() .doNotReadRequestBody() .trailers(headersOf("caboose", "xyz")) // Trailers always work for HTTP/2, but only for chunked bodies in HTTP/1. if (http2) { mockResponse.body("abc") } else { mockResponse.chunkedBody("abc", 1) } server.enqueue(mockResponse.build()) val call =Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 10.4K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
* Content-Type: plain/text * Content-Length: 6 * <-- END HTTP * ``` */ HEADERS, /** * Logs request and response lines and their respective headers and bodies (if present). * * Example: * ``` * --> POST /greeting http/1.1 * Host: example.com * Content-Type: plain/text * Content-Length: 3 * * Hi?Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Nov 07 02:57:33 UTC 2025 - 11.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt
* request body start and end events occur within the response header events. Similarly, * [duplex calls][RequestBody.isDuplex] interleave the request and response bodies. * * Since connections may be reused, the proxy selection, DNS, and connect events may not be present * for a call. In future releases of OkHttp these events may also occur concurrently to permit
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 21:03:04 UTC 2025 - 24.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
) val latch = CountDownLatch(2) val errors = ArrayList<IOException?>() val bodies: BlockingQueue<String?> = LinkedBlockingQueue() val callback: Callback = object : Callback { override fun onResponse( call: Call, response: Response, ) { bodies.add(response.body.string()) latch.countDown() }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 67.4K bytes - Viewed (0)