- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 840 for reader_ (0.04 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt
override fun close() { closed.set(true) super.close() } }.buffer() } } val reader = body.charStream() assertThat(reader.read()).isEqualTo('h'.code) reader.close() assertThat(closed.get()).isTrue() } @Test fun sourceSeesBom() { val body = "efbbbf68656c6c6f".decodeHex().toResponseBody()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12.4K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java
/** */ @Deprecated class DefaultInheritanceAssemblerTest { private DefaultModelReader reader; private ModelWriter writer; private InheritanceAssembler assembler; @BeforeEach void setUp() throws Exception { reader = new DefaultModelReader(); writer = new DefaultModelWriter(); assembler = new DefaultInheritanceAssembler(); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 8.2K bytes - Viewed (0) -
docs/es/docs/advanced/behind-a-proxy.md
Pero por seguridad, como el server no sabe que está detrás de un proxy confiable, no interpretará esos headers. /// note | Detalles Técnicos Los headers del proxy son: * <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/X-Forwarded-For" class="external-link" target="_blank">X-Forwarded-For</a>
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 17.1K bytes - Viewed (0) -
tests/test_tutorial/test_bigger_applications/test_main.py
response = client.get("/items?token=jessica", headers={"X-Token": "invalid"}) assert response.status_code == 400 assert response.json() == {"detail": "X-Token header invalid"} def test_items_bar_with_invalid_token(client: TestClient): response = client.get("/items/bar?token=jessica", headers={"X-Token": "invalid"}) assert response.status_code == 400
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 21.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/RequestHeaderService.java
/** * Retrieves a specific request header by its ID. * * @param id the unique identifier of the request header * @return an OptionalEntity containing the request header if found, empty otherwise */ public OptionalEntity<RequestHeader> getRequestHeader(final String id) { return requestHeaderBhv.selectByPK(id); } /** * Stores a request header configuration to the database.Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.2K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java
// [01] clean:clean // [02] modello:xpp3-writer // [03] modello:java // [04] modello:xpp3-reader // [05] modello:xpp3-writer // [06] modello:java // [07] modello:xpp3-reader // [08] plugin:descriptor // [09] resources:resources // [10] compiler:compile // [11] resources:testResourcesRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 22.9K bytes - Viewed (0) -
docs/recipes.md
When writing request headers, use `header(name, value)` to set the only occurrence of `name` to `value`. If there are existing values, they will be removed before the new value is added. Use `addHeader(name, value)` to add a header without removing the headers already present.
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 47.8K bytes - Viewed (0) -
tests/test_security_http_digest.py
assert response.headers["WWW-Authenticate"] == "Digest" def test_security_http_digest_incorrect_scheme_credentials(): response = client.get( "/users/me", headers={"Authorization": "Other invalidauthorization"} ) assert response.status_code == 401, response.text assert response.json() == {"detail": "Not authenticated"} assert response.headers["WWW-Authenticate"] == "Digest"
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 24 19:03:06 UTC 2025 - 2.1K bytes - Viewed (0) -
tests/test_request_params/test_header/test_optional_str.py
client = TestClient(app) response = client.get(path, headers={"p": "hello"}) assert response.status_code == 200 assert response.json() == {"p": "hello"} # ===================================================================================== # Alias @app.get("/optional-alias") async def read_optional_alias( p: Annotated[Optional[str], Header(alias="p_alias")] = None, ): return {"p": p}
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 8.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/SocketFailureTest.kt
) call1.execute().use { response -> response.body.string() } listener.shouldClose = true // Large headers are a likely reason the servers would cut off the connection before it completes sending // request headers. // 431 "Request Header Fields Too Large" val largeHeaders = Headers .Builder() .apply { repeat(32) { add("name-$it", "value-$it-" + "0".repeat(1024))Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Jul 29 21:11:09 UTC 2025 - 3K bytes - Viewed (0)