- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 551 for acceptT2 (0.03 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
.assertHeader("Donut", "a") .assertHeader("ETag", "v1") .assertRequestUrl(server.url("/")) .assertRequestHeader("Accept-Language") // No Vary on Accept-Language. .assertRequestHeader("Accept-Charset", "UTF-8") // Because of Vary on Accept-Charset. .assertRequestHeader("If-None-Match") // This wasn't present in the original request.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 147.4K bytes - Viewed (0) -
.github/CONTRIBUTING.md
- OkHttp targets the intersection of RFC correct *and* widely implemented. Incorrect implementations that are very widely implemented e.g. a bug in Apache, Nginx, Google, Firefox should also be handled. Before your code can be accepted into the project you must also sign the [Individual Contributor License Agreement (CLA)][1].
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Mar 17 04:16:26 UTC 2019 - 1.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TestThread.java
* method equivalent to {@link * java.util.concurrent.locks.ReentrantLock#hasWaiters(java.util.concurrent.locks.Condition)}, * except that the method parameter must accept whatever condition-like object is passed into {@code * callAndAssertWaits} by the test. * * @param <L> the type of the lock-like object to be used * @author Justin T. Sampson */ @NullUnmarkedRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 21:00:51 UTC 2025 - 11.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java
* * <p><b>Java 21+ users:</b> use {@link Thread.Builder#name(String, long)} instead. Note that * {@link #setNameFormat} accepts a thread name <i>format string</i> (e.g., {@code * threadFactoryBuilder.setNameFormat("rpc-pool-%d")}), while {@code threadBuilder.name()} accepts * a thread name <i>prefix</i> and initial counter value (e.g., {@code * threadBuilder.name("rpc-pool-", 0)}. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:35:26 UTC 2025 - 9K bytes - Viewed (0) -
docs/ru/docs/tutorial/cors.md
* `allow_headers` - Список HTTP-заголовков запроса, которые должны поддерживаться при кросс-доменных запросах. По умолчанию `[]`. Можно использовать `['*']`, чтобы разрешить все заголовки. Заголовки `Accept`, `Accept-Language`, `Content-Language` и `Content-Type` всегда разрешены для <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#simple_requests" class="external-link" rel="noopener" target="_blank">простых CORS-запросов</a>.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 8.8K bytes - Viewed (0) -
okhttp-zstd/README.md
OkHttp Zstandard (zstd) Integration =================================== This module enables [Zstandard (zstd)][1] response compression in addition to Gzip, as long as the `Accept-Encoding` header is not otherwise set. Web servers must be configured to return zstd responses. Note that zstd is not used for sending requests. ```java OkHttpClient client = new OkHttpClient.Builder() .addInterceptor(ZstdInterceptor.INSTANCE) .build(); ```
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Oct 30 21:39:59 UTC 2025 - 556 bytes - Viewed (1) -
src/test/java/jcifs/smb1/util/LogStreamTest.java
} @Test void testNullStreamHandling() { // Test that passing null to setInstance throws NullPointerException // This is expected behavior as PrintStream doesn't accept null assertThrows(NullPointerException.class, () -> { LogStream.setInstance(null); }); } @Test void testPrintStreamDelegation() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
digest.sign(data, 0, data.length, request, response); // If no exception is thrown, accept graceful handling assertTrue(true, "Sign operation after wipe should either throw exception or handle gracefully"); } catch (RuntimeException e) { // Accept any runtime exception that indicates the digest is unusable
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
okhttp-brotli/src/main/kotlin/okhttp3/brotli/BrotliInterceptor.kt
* limitations under the License. */ package okhttp3.brotli import okhttp3.CompressionInterceptor import okhttp3.Gzip /** * Transparent Brotli response support. * * Adds Accept-Encoding: br to request and checks (and strips) for Content-Encoding: br in * responses. n.b. this replaces the transparent gzip compression in BridgeInterceptor. */
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 15:15:28 UTC 2025 - 979 bytes - Viewed (0) -
docs_src/app_testing/tutorial002_py39.py
app = FastAPI() @app.get("/") async def read_main(): return {"msg": "Hello World"} @app.websocket("/ws") async def websocket(websocket: WebSocket): await websocket.accept() await websocket.send_json({"msg": "Hello WebSocket"}) await websocket.close() def test_read_main(): client = TestClient(app) response = client.get("/") assert response.status_code == 200
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 757 bytes - Viewed (0)