Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 835 for rheaders (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/PushObserver.kt

        private class PushObserverCancel : PushObserver {
          override fun onRequest(
            streamId: Int,
            requestHeaders: List<Header>,
          ): Boolean {
            return true
          }
    
          override fun onHeaders(
            streamId: Int,
            responseHeaders: List<Header>,
            last: Boolean,
          ): Boolean {
            return true
          }
    
          @Throws(IOException::class)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top