Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 368 for avait (0.02 seconds)

  1. docs/fr/docs/how-to/authentication-error-status-code.md

    # Utiliser les anciens codes d'erreur d'authentification 403 { #use-old-403-authentication-error-status-codes }
    
    Avant FastAPI version `0.122.0`, lorsque les utilitaires de sécurité intégrés renvoyaient une erreur au client après un échec d'authentification, ils utilisaient le code d'état HTTP `403 Forbidden`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  2. docs/en/docs/advanced/stream-data.md

    ### Files and Async { #files-and-async }
    
    In most cases, file-like objects are not compatible with async and await by default.
    
    For example, they don't have an `await file.read()`, or `async for chunk in file`.
    
    And in many cases, reading them would be a blocking operation (that could block the event loop), because they are read from disk or from the network.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  3. fastapi/.agents/skills/fastapi/references/other-tools.md

    app = FastAPI()
    
    
    def do_blocking_work(name: str) -> str:
        # Some blocking I/O operation
        return f"Hello {name}"
    
    
    @app.get("/items/")
    async def read_items():
        result = await asyncify(do_blocking_work)(name="World")
        return {"message": result}
    ```
    
    And run async code inside of blocking sync code with `syncify()`:
    
    ```python
    from asyncer import syncify
    from fastapi import FastAPI
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

            // When - Multiple threads get and release buffers
            for (int t = 0; t < threadCount; t++) {
                executor.submit(() -> {
                    try {
                        startLatch.await();
    
                        for (int i = 0; i < opsPerThread; i++) {
                            // Get buffer
                            byte[] buffer = BufferCache.getBuffer();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  5. docs/es/docs/advanced/stream-data.md

    ### Archivos y async { #files-and-async }
    
    En la mayoría de los casos, los objetos tipo archivo no son compatibles con `async` y `await` por defecto.
    
    Por ejemplo, no tienen un `await file.read()`, ni un `async for chunk in file`.
    
    Y en muchos casos leerlos sería una operación bloqueante (que podría bloquear el event loop), porque se leen desde disco o desde la red.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:12:26 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  6. docs/ko/docs/tutorial/request-files.md

    * `seek(offset)`: 파일 내 `offset`(`int`) 위치의 바이트로 이동합니다.
        * 예) `await myfile.seek(0)` 를 사용하면 파일의 시작부분으로 이동합니다.
        * `await myfile.read()` 를 사용한 후 내용을 다시 읽을 때 유용합니다.
    * `close()`: 파일을 닫습니다.
    
    상기 모든 메소드들이 `async` 메소드이기 때문에 “await”을 사용하여야 합니다.
    
    예를들어, `async` *경로 처리 함수*의 내부에서 다음과 같은 방식으로 내용을 가져올 수 있습니다:
    
    ```Python
    contents = await myfile.read()
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  7. fastapi/.agents/skills/fastapi/SKILL.md

    Use `async` *path operations* only when fully certain that the logic called inside is compatible with async and await (it's called with `await`) or that doesn't block.
    
    ```python
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    # Use async def when calling async code
    @app.get("/async-items/")
    async def read_async_items():
        data = await some_async_library.fetch_items()
        return data
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  8. docs/fr/docs/deployment/https.md

        * Donc, la gestion du **certificat et du cryptage** est effectuée **avant HTTP**.
    * **TCP ne connaît pas les « domaines »**. Il ne connaît que les adresses IP.
        * L'information sur le **domaine spécifique** demandé se trouve dans les **données HTTP**.
    * Les **certificats HTTPS** « certifient » un **certain domaine**, mais le protocole et le cryptage se font au niveau TCP, **avant de savoir** quel domaine est traité.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        callback.await(server.url("/a")).assertBody("abc")
        client.newCall(Request.Builder().url(server.url("/b")).build()).enqueue(callback)
        callback.await(server.url("/b")).assertBody("def")
        client.newCall(Request.Builder().url(server.url("/c")).build()).enqueue(callback)
        callback.await(server.url("/c")).assertBody("ghi")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 146.5K bytes
    - Click Count (0)
  10. docs/fr/docs/advanced/behind-a-proxy.md

    Ces proxies peuvent gérer les certificats HTTPS et d'autres aspects.
    
    ## En-têtes transférés par le proxy { #proxy-forwarded-headers }
    
    Un **proxy** placé devant votre application définit normalement certains en-têtes à la volée avant d'envoyer les requêtes à votre **serveur**, afin d'indiquer au serveur que la requête a été **transférée** par le proxy, en lui donnant l'URL d'origine (publique), y compris le domaine, le fait qu'elle utilise HTTPS, etc.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 17.4K bytes
    - Click Count (0)
Back to Top