Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 22 for streaming (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/test_dependency_after_yield_raise.py

        yield "s"
        raise ValueError("Broken after yield")
    
    
    app = FastAPI()
    
    
    @app.get("/catching")
    def catching(d: Annotated[str, Depends(catching_dep)]) -> Any:
        raise CustomError("Simulated error during streaming")
    
    
    @app.get("/broken")
    def broken(d: Annotated[str, Depends(broken_dep)]) -> Any:
        return {"message": "all good?"}
    
    
    client = TestClient(app)
    
    
    def test_catching():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  2. docs/es/docs/advanced/middleware.md

    ## `GZipMiddleware` { #gzipmiddleware }
    
    Maneja responses GZip para cualquier request que incluya `"gzip"` en el header `Accept-Encoding`.
    
    El middleware manejará tanto responses estándar como en streaming.
    
    {* ../../docs_src/advanced_middleware/tutorial003_py39.py hl[2,6] *}
    
    Se soportan los siguientes argumentos:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  3. guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java

    import com.google.errorprone.annotations.Immutable;
    import java.nio.ByteBuffer;
    import java.nio.ByteOrder;
    import java.nio.charset.Charset;
    
    /**
     * Skeleton implementation of {@link HashFunction}, appropriate for non-streaming algorithms. All
     * the hash computation done using {@linkplain #newHasher()} are delegated to the {@linkplain
     * #hashBytes(byte[], int, int)} method.
     *
     * @author Dimitris Andreou
     */
    @Immutable
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 04 15:39:10 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  4. tests/test_dependency_after_yield_streaming.py

        with pytest.raises((ValueError, Exception)):
            client.get("/broken-session-stream")
    
    
    def test_broken_session_stream_no_raise():
        """
        When a dependency with yield raises after the streaming response already started
        the 200 status code is already sent, but there's still an error in the server
        afterwards, an exception is raised and captured or shown in the server logs.
        """
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/middleware.md

    ## `GZipMiddleware` { #gzipmiddleware }
    
    Handles GZip responses for any request that includes `"gzip"` in the `Accept-Encoding` header.
    
    The middleware will handle both standard and streaming responses.
    
    {* ../../docs_src/advanced_middleware/tutorial003_py39.py hl[2,6] *}
    
    The following arguments are supported:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  6. docs/de/docs/advanced/middleware.md

    ## `GZipMiddleware` { #gzipmiddleware }
    
    Verarbeitet GZip-Responses für alle Requests, die `"gzip"` im `Accept-Encoding`-Header enthalten.
    
    Diese Middleware verarbeitet sowohl Standard- als auch Streaming-Responses.
    
    {* ../../docs_src/advanced_middleware/tutorial003_py39.py hl[2,6] *}
    
    Die folgenden Argumente werden unterstützt:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/go/GoAction.java

         * to the target URL or serves file content directly if configured.
         *
         * @param form the go form containing document ID and tracking parameters
         * @return action response for redirection or content streaming
         * @throws IOException if an I/O error occurs during content retrieval
         */
        @Execute
        public ActionResponse index(final GoForm form) throws IOException {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 9K bytes
    - Click Count (0)
  8. docs/pt/docs/advanced/middleware.md

    ## `GZipMiddleware` { #gzipmiddleware }
    
    Gerencia respostas GZip para qualquer requisição que inclua `"gzip"` no cabeçalho `Accept-Encoding`.
    
    O middleware lidará com respostas padrão e de streaming.
    
    {* ../../docs_src/advanced_middleware/tutorial003_py39.py hl[2,6] *}
    
    Os seguintes argumentos são suportados:
    
    * `minimum_size` - Não comprima respostas menores que este tamanho mínimo em bytes. O padrão é `500`.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  9. docs/es/docs/features.md

    * Soporte para **WebSocket**.
    * Tareas en segundo plano en el mismo proceso.
    * Eventos de inicio y apagado.
    * Cliente de prueba basado en HTTPX.
    * **CORS**, GZip, archivos estáticos, responses en streaming.
    * Soporte para **Session y Cookie**.
    * Cobertura de tests del 100%.
    * code base completamente anotada con tipos.
    
    ## Funcionalidades de Pydantic { #pydantic-features }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 10:15:01 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  10. docs/es/docs/advanced/advanced-dependencies.md

    Por ejemplo, si tenías una sesión de base de datos en una dependencia con `yield`, el `StreamingResponse` no podría usar esa sesión mientras hace streaming de datos porque la sesión ya se habría cerrado en el código de salida después de `yield`.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 9.8K bytes
    - Click Count (0)
Back to Top