- Sort Score
- Num 10 results
- Language All
Results 281 - 290 of 1,402 for world (0.06 seconds)
-
docs_src/behind_a_proxy/tutorial004_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 437 bytes - Click Count (0) -
tests/test_tutorial/test_behind_a_proxy/test_tutorial004.py
client = TestClient(app) def test_main(): response = client.get("/app") assert response.status_code == 200 assert response.json() == {"message": "Hello World", "root_path": "/api/v1"} def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200 assert response.json() == snapshot( {
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 1.4K bytes - Click Count (0) -
docs_src/behind_a_proxy/tutorial001_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 189 bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
} } @Test public void test_GzipSuccessResponse_DecompressedCorrectly() throws Exception { // ## Arrange ## String originalBody = "Hello, GZIP world!"; byte[] gzipped = gzipCompress(originalBody); CurlRequest req = new OpenOverrideCurlRequest(Curl.Method.GET, "http://dummy", u -> new GzipSuccessMockHttpURLConnection(u, gzipped)); // ## Act ##Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 12:00:34 GMT 2026 - 44.1K bytes - Click Count (0) -
docs_src/behind_a_proxy/tutorial002_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 208 bytes - Click Count (0) -
docs_src/app_testing/app_a_py310/test_main.py
from .main import app client = TestClient(app) def test_read_main(): response = client.get("/") assert response.status_code == 200
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 238 bytes - Click Count (0) -
docs_src/behind_a_proxy/tutorial003_py310.py
{"url": "https://prod.example.com", "description": "Production environment"}, ], root_path="/api/v1", ) @app.get("/app") def read_main(request: Request):Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 405 bytes - Click Count (0) -
docs/zh/docs/alternatives.md
```Python response = requests.get("http://example.com/some/url") ``` 对应地,FastAPI 的 API 路径操作可能看起来是这样的: ```Python hl_lines="1" @app.get("/some/url") def read_url(): return {"message": "Hello World"} ``` 可以看到 `requests.get(...)` 与 `@app.get(...)` 的相似之处。 /// check | 启发 **FastAPI**: * 提供简单直观的 API。 * 直接、自然地使用 HTTP 方法名(操作)。 * 具备合理默认值,同时支持强大定制能力。 ///
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 20.1K bytes - Click Count (0) -
tests/test_tutorial/test_behind_a_proxy/test_tutorial001.py
client = TestClient(app, root_path="/api/v1") def test_main(): response = client.get("/app") assert response.status_code == 200 assert response.json() == {"message": "Hello World", "root_path": "/api/v1"} def test_openapi(): response = client.get("/openapi.json") assert response.status_code == 200 assert response.json() == snapshot( { "openapi": "3.1.0",
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 1.2K bytes - Click Count (0) -
src/cmd/cgo/doc.go
type _Ctype_void [0]byte The _cgo_gotypes.go file also contains the definitions of the functions. They all have similar bodies that invoke runtime·cgocall to make a switch from the Go runtime world to the system C (GCC-based) world. For example, here is the definition of _Cfunc_puts: //go:cgo_import_static _cgo_be59f0f25121_Cfunc_puts //go:linkname __cgofn__cgo_be59f0f25121_Cfunc_puts _cgo_be59f0f25121_Cfunc_puts
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Dec 08 22:37:14 GMT 2025 - 43.9K bytes - Click Count (0)