- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for app_lax_post (0.06 seconds)
-
tests/test_strict_content_type_app_level.py
app_default = FastAPI() @app_default.post("/items/") async def app_default_post(data: dict): return data app_lax = FastAPI(strict_content_type=False) @app_lax.post("/items/") async def app_lax_post(data: dict): return data client_default = TestClient(app_default) client_lax = TestClient(app_lax) def test_default_strict_rejects_no_content_type():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Feb 23 17:45:20 GMT 2026 - 1.1K bytes - Click Count (0)