Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 780 for reader_ (0.1 sec)

  1. tests/test_tutorial/test_header_param_models/test_tutorial002.py

        mod = importlib.import_module(f"docs_src.header_param_models.{request.param}")
    
        client = TestClient(mod.app)
        client.headers.clear()
        return client
    
    
    def test_header_param_model(client: TestClient):
        response = client.get(
            "/items/",
            headers=[
                ("save-data", "true"),
                ("if-modified-since", "yesterday"),
                ("traceparent", "123"),
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http/BridgeInterceptor.kt

          transparentGzip = true
          requestBuilder.header("Accept-Encoding", "gzip")
        }
    
        val cookies = cookieJar.loadForRequest(userRequest.url)
        if (cookies.isNotEmpty()) {
          requestBuilder.header("Cookie", cookieHeader(cookies))
        }
    
        if (userRequest.header("User-Agent") == null) {
          requestBuilder.header("User-Agent", USER_AGENT)
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

            if (truncated) {
              socket.close()
            }
          } else {
            // read a frame
            val inFrame = InFrame(i, reader)
            reader.nextFrame(false, inFrame)
            inFrames.add(inFrame)
          }
        }
      }
    
      fun openSocket(): Socket = Socket("localhost", port)
    
      @Synchronized override fun close() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. cmd/bitrot.go

    	if algo == HighwayHash256S {
    		return newStreamingBitrotReader(disk, data, bucket, filePath, tillOffset, algo, shardSize)
    	}
    	return newWholeBitrotReader(disk, bucket, filePath, algo, tillOffset, sum)
    }
    
    // Close all the readers.
    func closeBitrotReaders(rs []io.ReaderAt) {
    	for _, r := range rs {
    		if r != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. build-logic-commons/code-quality-rules/src/main/resources/checkstyle/required-header.txt

    Jendrik Johannes <******@****.***> 1607501645 +0100
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 682 bytes
    - Viewed (0)
  6. src/etc/header-definition.xml

    Shinsuke Sugaya <******@****.***> 1379249320 +0900
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sun Sep 15 12:48:40 UTC 2013
    - 509 bytes
    - Viewed (0)
  7. docs/em/docs/tutorial/header-params.md

    ```
    
    ////
    
    /// note | "πŸ“‘ β„Ή"
    
    `Header` "πŸ‘­" πŸŽ“ `Path`, `Query` &amp; `Cookie`. ⚫️ πŸ˜– βšͺ️➑️ 🎏 ⚠ `Param` πŸŽ“.
    
    βœ‹οΈ πŸ’­ πŸ‘ˆ πŸ•β” πŸ‘† πŸ—„ `Query`, `Path`, `Header`, &amp; 🎏 βšͺ️➑️ `fastapi`, πŸ‘ˆ πŸ€™ πŸ”’ πŸ‘ˆ πŸ“¨ 🎁 πŸŽ“.
    
    ///
    
    /// info
    
    πŸ“£ 🎚, πŸ‘† πŸ’ͺ βš™οΈ `Header`, ↩️ βͺ πŸ”’ πŸ”œ πŸ”¬ πŸ”’ πŸ”’.
    
    ///
    
    ## 🏧 πŸ› οΈ
    
    `Header` βœ”οΈ πŸ₯ βž• πŸ› οΈ πŸ”› πŸ” βš«οΈβ” `Path`, `Query` &amp; `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)
  8. 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)
  9. tests/test_openapi_examples.py

                                    "Header One": {
                                        "summary": "Header One Summary",
                                        "description": "Header One Description",
                                        "value": "header1",
                                    },
                                    "Header Two": {"value": "header2"},
                                },
                            }
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 15:57:43 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  10. docs_src/app_testing/app_b_py310/test_main.py

    
    def test_read_nonexistent_item():
        response = client.get("/items/baz", headers={"X-Token": "coneofsilence"})
        assert response.status_code == 404
        assert response.json() == {"detail": "Item not found"}
    
    
    def test_create_item():
        response = client.post(
            "/items/",
            headers={"X-Token": "coneofsilence"},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top