- Sort Score
- Num 10 results
- Language All
Results 421 - 430 of 2,206 for path (0.02 seconds)
-
docs/de/docs/tutorial/header-params.md
Sie können Header-Parameter genauso definieren, wie Sie `Query`-, `Path`- und `Cookie`-Parameter definieren. ## `Header` importieren { #import-header } Importieren Sie zuerst `Header`: {* ../../docs_src/header_params/tutorial001_an_py310.py hl[3] *} ## `Header`-Parameter deklarieren { #declare-header-parameters } Deklarieren Sie dann die Header-Parameter mit derselben Struktur wie bei `Path`, `Query` und `Cookie`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 15:10:09 GMT 2025 - 3.5K bytes - Click Count (0) -
docs/zh/docs/tutorial/header-params.md
# Header 参数 定义 `Header` 参数的方式与定义 `Query`、`Path`、`Cookie` 参数相同。 ## 导入 `Header` 首先,导入 `Header`: {* ../../docs_src/header_params/tutorial001_an_py310.py hl[3] *} ## 声明 `Header` 参数 然后,使用和 `Path`、`Query`、`Cookie` 一样的结构定义 header 参数。 第一个值是默认值,还可以传递所有验证参数或注释参数: {* ../../docs_src/header_params/tutorial001_an_py310.py hl[9] *} /// note | 技术细节 `Header` 是 `Path`、`Query`、`Cookie` 的**兄弟类**,都继承自共用的 `Param` 类。Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 2.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt
.isEqualTo(parse("http://host/path")) assertThat(parse("http:\\\\host/path")) .isEqualTo(parse("http://host/path")) assertThat(parse("http:///host/path")) .isEqualTo(parse("http://host/path")) assertThat(parse("http:\\//host/path")) .isEqualTo(parse("http://host/path")) assertThat(parse("http:/\\/host/path")) .isEqualTo(parse("http://host/path"))
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Aug 04 07:38:48 GMT 2025 - 69.9K bytes - Click Count (0) -
docs/ru/llm-prompt.md
* include: включать (add `в себя` if it's appropriate, or use `содержать` as an alternative) * virtual environment: виртуальное окружение * framework: фреймворк * path paremeter: path-параметр * path (as in URL path): путь * form (as in HTML form): форма * media type: тип содержимого (or `медиа-тип`) * request: HTTP-запрос * response: HTTP-ответ * type hints: аннотации типов
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Oct 06 11:09:58 GMT 2025 - 6K bytes - Click Count (0) -
cmd/xl-storage-format-utils.go
func getFileInfoVersions(xlMetaBuf []byte, volume, path string, inclFreeVersions bool) (FileInfoVersions, error) { fivs, err := getAllFileInfoVersions(xlMetaBuf, volume, path, true) if err != nil { return fivs, err } // If inclFreeVersions is false, partition the versions in fivs.Versions // such that finally fivs.Versions has
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 08 15:29:58 GMT 2024 - 5.5K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java
// expected failure: wrong relative path calculation assertTrue( afe.getMessage() .contains( "Expected text value 'http://www.apache.org/path/to/parent/child-artifact-id/' but was " + "'http://www.apache.org/path/to/parent/../child-artifact-id/'"),Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 8.2K bytes - Click Count (0) -
tests/test_tutorial/test_generate_clients/test_tutorial004.py
import importlib import json import pathlib from unittest.mock import patch from docs_src.generate_clients import tutorial003_py39 def test_remove_tags(tmp_path: pathlib.Path): tmp_file = tmp_path / "openapi.json" openapi_json = tutorial003_py39.app.openapi() tmp_file.write_text(json.dumps(openapi_json)) with patch("pathlib.Path", return_value=tmp_file):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 8.3K bytes - Click Count (0) -
docs/es/docs/tutorial/dependencies/index.md
{* ../../docs_src/dependencies/tutorial001_an_py310.py hl[8:9] *} Eso es todo. **2 líneas**. Y tiene la misma forma y estructura que todas tus *path operation functions*. Puedes pensar en ella como una *path operation function* sin el "decorador" (sin el `@app.get("/some-path")`). Y puede devolver lo que quieras.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 10.1K bytes - Click Count (0) -
tests/test_tutorial/test_query_params/test_tutorial004.py
), ( "/users/42/items/baz?short=true", {"item_id": "baz", "owner_id": 42}, ), ], ) def test_read_user_item(client: TestClient, path, expected_json): response = client.get(path) assert response.status_code == 200 assert response.json() == expected_json def test_openapi_schema(client: TestClient): response = client.get("/openapi.json")Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 5.3K bytes - Click Count (0) -
cmd/os-readdir_test.go
package cmd import ( "fmt" "os" "path" "path/filepath" "runtime" "sort" "testing" ) // Test to check for different input arguments. func TestReadDirFail(t *testing.T) { // Check non existent directory. if _, err := readDir("/tmp/non-existent-directory"); err != errFileNotFound { t.Fatalf("expected = %s, got: %s", errFileNotFound, err) } file := path.Join(os.TempDir(), "issue")
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 7.5K bytes - Click Count (0)