- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 835 for rheaders (0.08 sec)
-
tests/test_tutorial/test_header_params/test_tutorial003_py310.py
@needs_py310 @pytest.mark.parametrize( "path,headers,expected_status,expected_response", [ ("/items", None, 200, {"X-Token values": None}), ("/items", {"x-token": "foo"}, 200, {"X-Token values": ["foo"]}), # TODO: fix this, is it a bug? # ("/items", [("x-token", "foo"), ("x-token", "bar")], 200, {"X-Token values": ["foo", "bar"]}), ], )
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 4.3K bytes - Viewed (0) -
docs/em/docs/tutorial/header-params.md
``` //// /// note | "π‘ βΉ" `Header` "π" π `Path`, `Query` & `Cookie`. β«οΈ π βͺοΈβ‘οΈ π β `Param` π. βοΈ π π πβ π π `Query`, `Path`, `Header`, & π βͺοΈβ‘οΈ `fastapi`, π π€ π’ π π¨ π π. /// /// info π£ π, π πͺ βοΈ `Header`, β©οΈ βͺ π’ π π¬ π’ π’. /// ## π§ π οΈ `Header` βοΈ π₯ β π οΈ π π β«οΈβ `Path`, `Query` & `Cookie` π.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.2K bytes - Viewed (0) -
docs/ko/docs/tutorial/header-params.md
`Header`λ `Path`, `Query` λ° `Cookie`μ "μ맀"ν΄λμ€μ λλ€. μ΄ μμ λμΌν κ³΅ν΅ `Param` ν΄λμ€λ₯Ό μμν©λλ€. `Query`, `Path`, `Header` κ·Έλ¦¬κ³ λ€λ₯Έ κ²λ€μ `fastapi`μμ μν¬νΈ ν λ, μ΄λ€μ μ€μ λ‘ νΉλ³ν ν΄λμ€λ₯Ό λ°ννλ ν¨μμμ κΈ°μ΅νμΈμ. /// /// info | "μ 보" ν€λλ₯Ό μ μΈνκΈ° μν΄μ `Header`λ₯Ό μ¬μ©ν΄μΌ ν©λλ€. κ·Έλ μ§ μμΌλ©΄ ν΄λΉ 맀κ°λ³μλ₯Ό 쿼리 맀κ°λ³μλ‘ ν΄μνκΈ° λλ¬Έμ λλ€. /// ## μλ λ³ν `Header`λ `Path`, `Query` κ·Έλ¦¬κ³ `Cookie`κ° μ 곡νλ κ² μΈμ κΈ°λ₯μ΄ μ‘°κΈ λ μμ΅λλ€. λλΆλΆμ νμ€ ν€λλ "λ§μ΄λμ€ κΈ°νΈ" (`-`)λΌκ³ λ νλ "νμ΄ν" λ¬Έμλ‘ κ΅¬λΆλ©λλ€.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.3K bytes - Viewed (0) -
samples/compare/src/test/kotlin/okhttp3/compare/JettyHttpClientTest.kt
client.newRequest(server.url("/").toUri()) .header("Accept", "text/plain") val response = request.send() assertThat(response.status).isEqualTo(200) assertThat(response.contentAsString).isEqualTo("hello, Jetty HTTP Client") val recorded = server.takeRequest() assertThat(recorded.headers["Accept"]).isEqualTo("text/plain") assertThat(recorded.headers["Accept-Encoding"]).isEqualTo("gzip")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2K bytes - Viewed (0) -
tests/test_tutorial/test_handling_errors/test_tutorial002.py
def test_get_item_header(): response = client.get("/items-header/foo") assert response.status_code == 200, response.text assert response.json() == {"item": "The Foo Wrestlers"} def test_get_item_not_found_header(): response = client.get("/items-header/bar") assert response.status_code == 404, response.text assert response.headers.get("x-error") == "There goes my error"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 3.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/PushObserver.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.6K bytes - Viewed (0) -
internal/config/crypto.go
// provided. func Decrypt(k *kms.KMS, ciphertext io.Reader, associatedData kms.Context) (io.Reader, error) { const ( MaxMetadataSize = 1 << 20 // max. size of the metadata Version = 1 ) var header [5]byte if _, err := io.ReadFull(ciphertext, header[:]); err != nil { return nil, err } if header[0] != Version {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
assertThat(response.protocol).isEqualTo(protocol) val logs = testLogHandler.takeAll() assertThat(firstFrame(logs, "HEADERS")!!, "header logged") .contains("HEADERS END_HEADERS") // While MockWebServer waits to read the client's HEADERS frame before sending the response, it // doesn't wait to read the client's DATA frame and may send a DATA frame before the client
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 75.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/esreq/AdminEsreqAction.java
verifyTokenKeep(() -> asListHtml(this::saveToken)); String header = null; final StringBuilder buf = new StringBuilder(1000); try (final BufferedReader reader = new BufferedReader(new InputStreamReader(form.requestFile.getInputStream(), Constants.UTF_8))) { header = ReaderUtil.readLine(reader); if (header == null) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 6.2K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
This class is in the `logging-interceptor` artifact. * New: `Headers.Builder.addUnsafeNonAscii()` allows non-ASCII values to be added without an immediate exception. * New: Headers can be redacted in `HttpLoggingInterceptor`. * New: `Headers.Builder` now accepts dates. * New: OkHttp now accepts `java.time.Duration` for timeouts on Java 8+ and Android 26+.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 14:55:54 UTC 2022 - 50.8K bytes - Viewed (0)