Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1291 - 1300 of 1,498 for header3 (0.06 seconds)

  1. docs/ja/docs/tutorial/testing.md

    テストでも同じことを行います。
    
    例えば:
    
    * *パス* または *クエリ* パラメータを渡すには、それをURL自体に追加します。
    * JSONボディを渡すには、Pythonオブジェクト (例: `dict`) を `json` パラメータに渡します。
    * JSONの代わりに *フォームデータ* を送信する必要がある場合は、代わりに `data` パラメータを使用してください。
    * *ヘッダー* を渡すには、`headers` パラメータに `dict` を渡します。
    * *cookies* の場合、 `cookies` パラメータに `dict` です。
    
    (`httpx` または `TestClient` を使用して) バックエンドにデータを渡す方法の詳細は、[HTTPXのドキュメント](https://www.python-httpx.org)を確認してください。
    
    /// info
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/handling-errors.md

    }
    ```
    
    /// tip | 提示
    
    触发 `HTTPException` 时,可以用参数 `detail` 传递任何能转换为 JSON 的值,不仅限于 `str`。
    
    还支持传递 `dict`、`list` 等数据结构。
    
    **FastAPI** 能自动处理这些数据,并将之转换为 JSON。
    
    ///
    
    ## 添加自定义响应头 { #add-custom-headers }
    
    有些场景下要为 HTTP 错误添加自定义响应头。例如,出于某些类型的安全需要。
    
    一般情况下你可能不会在代码中直接使用它。
    
    但在某些高级场景中需要时,你可以添加自定义响应头:
    
    {* ../../docs_src/handling_errors/tutorial002_py310.py hl[14] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8.2K bytes
    - Click Count (0)
  3. cmd/bucket-lifecycle.go

    	}
    
    	timeTierAction := auditTierActions(ctx, oi.TransitionedObject.Tier, length)
    	reader, err := tgtClient.Get(ctx, oi.TransitionedObject.Name, remoteVersionID(oi.TransitionedObject.VersionID), gopts)
    	if err != nil {
    		return nil, err
    	}
    	closer := func() {
    		timeTierAction(reader.Close())
    	}
    	return fn(reader, h, closer)
    }
    
    // RestoreRequestType represents type of restore.
    type RestoreRequestType string
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  4. docs/ko/docs/deployment/docker.md

    COPY ./app /code/app
    
    CMD ["fastapi", "run", "app/main.py", "--port", "80"]
    
    # If running behind a proxy like Nginx or Traefik add --proxy-headers
    # CMD ["fastapi", "run", "app/main.py", "--port", "80", "--proxy-headers"]
    ```
    
    </details>
    
    ## 컨테이너란 { #what-is-a-container }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 32.6K bytes
    - Click Count (0)
  5. docs/ko/docs/tutorial/testing.md

    그 후, 테스트에서도 동일하게 적용하면 됩니다.
    
    예시:
    
    * *경로* 혹은 *쿼리* 매개변수를 전달하려면, URL 자체에 추가한다.
    * JSON 본문을 전달하려면, 파이썬 객체 (예를들면 `dict`)를 `json` 파라미터로 전달한다.
    * JSON 대신 *폼 데이터*를 보내야한다면, `data` 파라미터를 대신 전달한다.
    * *헤더*를 전달하려면, `headers` 파라미터에 `dict`를 전달한다.
    * *쿠키*를 전달하려면, `cookies` 파라미터에 `dict`를 전달한다.
    
    백엔드로 데이터를 어떻게 보내는지 정보를 더 얻으려면 (`httpx` 혹은 `TestClient`를 이용해서) [HTTPX 문서](https://www.python-httpx.org)를 확인하세요.
    
    /// info | 정보
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

        @Test
        void readWireFormat_shouldDelegateToParent() {
            // Arrange
            nodeStatusRequest = new NodeStatusRequest(mockConfig, mockName);
            byte[] src = new byte[200];
            // Setup minimal valid header
            src[0] = 0x00;
            src[1] = 0x01; // Transaction ID
            src[2] = 0x00; // Flags
            src[3] = 0x00; // Flags
            src[4] = 0x00;
            src[5] = 0x01; // Question count
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

            assertTrue(s.contains("totalParameterCount="), "string representation contains totalParameterCount field");
        }
    
        /**
         * Verify that readParameterWordsWireFormat parses the SMB header
         * correctly and updates all relevant members.
         */
        @Test
        public void readParameterWordsWireFormat_parsesHeaderCorrectly() {
            DummyResponse d = new DummyResponse();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12K bytes
    - Click Count (0)
  8. cmd/xl-storage-format-v1.go

    	return ((data >= parity) && (data > 0) && (parity >= 0))
    }
    
    //msgp:clearomitted
    
    //go:generate msgp -file=$GOFILE -unexported
    
    // A xlMetaV1Object represents `xl.meta` metadata header.
    type xlMetaV1Object struct {
    	Version string   `json:"version"` // Version of the current `xl.meta`.
    	Format  string   `json:"format"`  // Format of the current `xl.meta`.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Oct 22 15:30:50 GMT 2024
    - 8.4K bytes
    - Click Count (0)
  9. docs/site-replication/run-ssec-object-replication-with-compression.sh

    # Below should fail as compression and SSEC used at the same time
    # DISABLED: We must check the response header to see if compression was actually applied
    #RESULT=$({ ./mc put /tmp/data/mpartobj.txt minio1/test-bucket/mpartobj.txt --enc-c "minio1/test-bucket/mpartobj.txt=${TEST_MINIO_ENC_KEY}" --insecure; } 2>&1)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Sep 24 08:03:58 GMT 2024
    - 8.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

            logger.info("itemList: {}", itemList);
            return itemList;
        }
    
        protected static Response deleteMethod(final String path) {
            return given().contentType("application/json").header("Authorization", getTestToken()).delete(path);
        }
    
        protected static void deleteDocuments(final String queryString) {
            List<String> docIds = new ArrayList<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.6K bytes
    - Click Count (0)
Back to Top