- Sort Score
- Num 10 results
- Language All
Results 821 - 830 of 990 for Host (0.02 seconds)
-
docs_src/security/tutorial005_py39.py
current_user: User = Security(get_current_user, scopes=["me"]), ): if current_user.disabled: raise HTTPException(status_code=400, detail="Inactive user") return current_user @app.post("/token") async def login_for_access_token( form_data: OAuth2PasswordRequestForm = Depends(), ) -> Token: user = authenticate_user(fake_users_db, form_data.username, form_data.password) if not user:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Sep 29 02:57:38 GMT 2025 - 5.3K bytes - Click Count (0) -
docs/en/docs/tutorial/testing.md
│ ├── main.py │ └── test_main.py ``` Let's say that now the file `main.py` with your **FastAPI** app has some other **path operations**. It has a `GET` operation that could return an error. It has a `POST` operation that could return several errors. Both *path operations* require an `X-Token` header. {* ../../docs_src/app_testing/app_b_an_py310/main.py *} ### Extended testing file { #extended-testing-file }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 6.1K bytes - Click Count (0) -
docs/uk/docs/tutorial/testing.md
│ └── test_main.py ``` Припустимо, що тепер файл `main.py` із Вашим **FastAPI**-застосунком містить додаткові операції шляху (**path operations**). Він має `GET`-операцію, яка може повертати помилку. Він має `POST`-операцію, яка може повертати кілька помилок. Обидві операції шляху вимагають заголовок `X-Token`. //// tab | Python 3.10+ ```Python {!> ../../docs_src/app_testing/app_b_an_py310/main.py!} ```Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 9.5K bytes - Click Count (0) -
docs/zh/docs/tutorial/cors.md
你可以在 **FastAPI** 应用中使用 `CORSMiddleware` 来配置它。 * 导入 `CORSMiddleware`。 * 创建一个允许的源列表(由字符串组成)。 * 将其作为「中间件」添加到你的 **FastAPI** 应用中。 你也可以指定后端是否允许: * 凭证(授权 headers,Cookies 等)。 * 特定的 HTTP 方法(`POST`,`PUT`)或者使用通配符 `"*"` 允许所有方法。 * 特定的 HTTP headers 或者使用通配符 `"*"` 允许所有 headers。 {* ../../docs_src/cors/tutorial001.py hl[2,6:11,13:19] *} 默认情况下,这个 `CORSMiddleware` 实现所使用的默认参数较为保守,所以你需要显式地启用特定的源、方法或者 headers,以便浏览器能够在跨域上下文中使用它们。Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 4.5K bytes - Click Count (0) -
docs/kms/README.md
└─────────┘ ``` In a given setup, there are `n` MinIO instances talking to `m` KES servers but only `1` central KMS. The most simple setup consists of `1` MinIO server or cluster talking to `1` KMS via `1` KES server.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 7.2K bytes - Click Count (0) -
docs/uk/docs/tutorial/response-model.md
Параметр `response_model` працює з будь-яким *оператором шляху*: * `@app.get()` * `@app.post()` * `@app.put()` * `@app.delete()` * тощо. {* ../../docs_src/response_model/tutorial001_py310.py hl[17,22,24:27] *} /// note | Примітка Зверніть увагу, що `response_model` є параметром методу-декоратора (`get`, `post`, тощо), а не *функцією операцією шляху* (path operation function), як це робиться з параметрами або тілом запиту.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Jun 24 19:14:01 GMT 2025 - 24.8K bytes - Click Count (0) -
docs/ru/docs/tutorial/response-model.md
Параметр `response_model` можно указать у любой *операции пути*: * `@app.get()` * `@app.post()` * `@app.put()` * `@app.delete()` * и т.д. {* ../../docs_src/response_model/tutorial001_py310.py hl[17,22,24:27] *} /// note | Примечание Обратите внимание, что `response_model` — это параметр метода «декоратора» (`get`, `post` и т.д.), а не вашей *функции-обработчика пути*, в которой указываются параметры и тело запроса. ///
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 25.8K bytes - Click Count (0) -
docs/site-replication/run-multi-site-ldap.sh
exit_1 fi if [ "${enabled_minio1}" != "Enabled" ]; then echo "expected bucket to be mirrored with object-lock enabled, exiting..." exit_1 fi # "Test if most recent tag update is replicated" ./mc tag set minio2/newbucket "key=val1" if [ $? -ne 0 ]; then echo "expecting tag set to be successful. exiting.." exit_1 fi sleep 10Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Sep 24 08:03:58 GMT 2024 - 10.1K bytes - Click Count (0) -
docs/en/docs/alternatives.md
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 23.6K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java
return reader.read(getPom(name), null); } @Test void testPluginConfiguration() throws Exception { testInheritance("plugin-configuration"); } /** * Check most classical urls inheritance: directory structure where parent POM in parent directory * and child directory == artifactId * @throws IOException Model read problem */ @Test
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)