- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 379 for attach (0.05 seconds)
-
docs/pt/docs/advanced/async-tests.md
/// tip | Dica
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 4.3K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/async-tests.md
## 其他非同步函式呼叫 { #other-asynchronous-function-calls } 由於測試函式現在是非同步的,你也可以在測試中呼叫(並 `await`)其他 `async` 函式,和在程式碼其他地方一樣。 /// tip 如果在將非同步呼叫整合進測試時遇到 `RuntimeError: Task attached to a different loop`(例如使用 [MongoDB 的 MotorClient](https://stackoverflow.com/questions/41584243/runtimeerror-task-attached-to-a-different-loop) 時),請記得:需要事件迴圈的物件只應在非同步函式內實例化,例如在 `@app.on_event("startup")` 回呼中。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 3.5K bytes - Click Count (0) -
docs/zh/docs/advanced/strict-content-type.md
- 没有 `Content-Type` 头(例如使用 `fetch()` 携带 `Blob` 作为 body) - 且不发送任何认证凭据。 这种攻击主要在以下情况下相关: - 应用在本地(如 `localhost`)或内网中运行 - 且应用没有任何认证,假定来自同一网络的请求都可信。 ## 攻击示例 { #example-attack } 假设你构建了一个本地运行的 AI 代理。 它提供了一个 API,地址为 ``` http://localhost:8000/v1/agents/multivac ``` 另有一个前端,地址为 ``` http://localhost:8000 ``` /// tip | 提示 注意它们的主机相同。 ///Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:29:48 GMT 2026 - 3K bytes - Click Count (0) -
docs/es/docs/advanced/strict-content-type.md
* la aplicación corre localmente (p. ej. en `localhost`) o en una red interna * y la aplicación no tiene ninguna autenticación, espera que cualquier request de la misma red sea confiable. ## Ejemplo de ataque { #example-attack } Imagina que construyes una forma de ejecutar un agente de IA local. Provee un API en ``` http://localhost:8000/v1/agents/multivac ``` También hay un frontend en ``` http://localhost:8000
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:12:26 GMT 2026 - 3.4K bytes - Click Count (0) -
docs/ru/docs/advanced/async-tests.md
/// tip | Подсказка
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 6.2K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/strict-content-type.md
- 沒有 `Content-Type` 標頭(例如以 `fetch()` 並使用 `Blob` 作為 body) - 且沒有送出任何身分驗證憑證 這種攻擊主要與以下情境相關: - 應用在本機(例如 `localhost`)或內部網路中執行 - 並且應用沒有任何身分驗證,假設同一個網路中的任何請求都可被信任 ## 攻擊範例 { #example-attack } 假設你打造了一個在本機執行 AI 代理(AI agent)的方法。 它提供一個 API: ``` http://localhost:8000/v1/agents/multivac ``` 同時也有一個前端: ``` http://localhost:8000 ``` /// tip | 提示 請注意兩者的主機(host)相同。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:33:04 GMT 2026 - 3.1K bytes - Click Count (0) -
docs/ko/docs/advanced/async-tests.md
/// tip | 팁 테스트에 비동기 함수 호출을 통합할 때(예: [MongoDB의 MotorClient](https://stackoverflow.com/questions/41584243/runtimeerror-task-attached-to-a-different-loop)를 사용할 때) `RuntimeError: Task attached to a different loop`를 마주친다면, 이벤트 루프가 필요한 객체는 async 함수 안에서만 인스턴스화해야 한다는 점을 기억하세요. 예를 들어 `@app.on_event("startup")` 콜백에서 인스턴스화할 수 있습니다.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 4.5K bytes - Click Count (0) -
docs/zh/docs/advanced/async-tests.md
由于测试函数现在是异步的,因此除了在测试中向 FastAPI 应用程序发送请求之外,您现在还可以调用(和使用 `await` 等待)其他 `async` 异步函数,就和您在代码中的其他任何地方调用它们的方法一样。 /// tip | 提示 如果您在测试程序中集成异步函数调用的时候遇到一个 `RuntimeError: Task attached to a different loop` 的报错(例如,使用 [MongoDB 的 MotorClient](https://stackoverflow.com/questions/41584243/runtimeerror-task-attached-to-a-different-loop) 时),请记住,只能在异步函数中实例化需要事件循环的对象,例如在 `@app.on_event("startup")` 回调中初始化。
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 3.9K bytes - Click Count (0) -
cmd/iam.go
if err != nil { iamLogIf(ctx, err) return updatedAt, addedOrRemoved, effectivePolicies, err } if dnResult == nil { // dn not found - still attempt to detach if provided user is a DN. if !isAttach && sys.LDAPConfig.IsLDAPUserDN(r.User) { dn = sys.LDAPConfig.QuickNormalizeDN(r.User) } else { err = errNoSuchUser return updatedAt, addedOrRemoved, effectivePolicies, err }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Oct 15 17:00:45 GMT 2025 - 76.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableMultiset.java
* saving space. */ @VisibleForTesting static final double MAX_LOAD_FACTOR = 1.0; /** * Maximum allowed false positive probability of detecting a hash flooding attack given random * input. */ @VisibleForTesting static final double HASH_FLOODING_FPP = 0.001; /** * Maximum allowed length of a hash table bucket before falling back to a j.u.HashMap based
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 6.8K bytes - Click Count (0)