- Sort Score
- Num 10 results
- Language All
Results 371 - 380 of 1,681 for Request (0.04 seconds)
-
android/guava-tests/test/com/google/common/util/concurrent/TestThread.java
try { while (true) { Request request = requestQueue.take(); Object result; try { result = invokeMethod(request.methodName, request.arguments); } catch (ThreadDeath death) { return; } catch (InvocationTargetException exception) { responseQueue.put(new Response(request.methodName, null, exception.getTargetException())); continue;Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 21:00:51 GMT 2025 - 11.4K bytes - Click Count (0) -
tests/test_deprecated_openapi_prefix.py
from fastapi import FastAPI, Request from fastapi.testclient import TestClient app = FastAPI(openapi_prefix="/api/v1") @app.get("/app") def read_main(request: Request): return {"message": "Hello World", "root_path": request.scope.get("root_path")} client = TestClient(app) def test_main(): response = client.get("/app") assert response.status_code == 200
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 1.2K bytes - Click Count (0) -
docs/es/docs/tutorial/handling-errors.md
Estos manejadores se encargan de devolver los responses JSON predeterminadas cuando lanzas un `HTTPException` y cuando el request tiene datos inválidos. Puedes sobrescribir estos manejadores de excepciones con los tuyos propios. ### Sobrescribir excepciones de validación de request { #override-request-validation-exceptions } Cuando un request contiene datos inválidos, **FastAPI** lanza internamente un `RequestValidationError`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 9.7K bytes - Click Count (0) -
cmd/metrics-v3-cluster-iam.go
pluginAuthnServiceLastFailSecondsMD = NewCounterMD(pluginAuthnServiceLastFailSeconds, "When plugin authentication is configured, returns time (in seconds) since the last failed request to the service")
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu May 02 08:20:42 GMT 2024 - 4.5K bytes - Click Count (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Parser.java
* * @since 4.0.0 */ @Experimental public interface Parser { /** * Parses the given ParserRequest to create an {@link InvokerRequest}. * This method does interpret tool arguments. * * @param parserRequest the request containing all necessary information for parsingCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 31 20:56:58 GMT 2025 - 1.6K bytes - Click Count (0) -
internal/grid/README.md
It uses a single two-way connection to send and receive messages between servers. It includes built in muxing of concurrent requests as well as congestion handling for streams. Requests can be "Single Payload" or "Streamed". Use the MinIO Grid for: * Small, frequent requests with low latency requirements. * Long-running requests with small/medium payloads. Do *not* use the MinIO Grid for: * Large payloads.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 9.4K bytes - Click Count (0) -
cmd/post-policy_test.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 30.6K bytes - Click Count (0) -
docs/pt/docs/tutorial/middleware.md
Para criar um middleware, use o decorador `@app.middleware("http")` logo acima de uma função. A função middleware recebe: * A `request`. * Uma função `call_next` que receberá o `request` como um parâmetro. * Esta função passará a `request` para a *operação de rota* correspondente. * Então ela retorna a `response` gerada pela *operação de rota* correspondente.
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) -
tests/test_stringified_annotations_simple.py
from __future__ import annotations from typing import Annotated from fastapi import Depends, FastAPI, Request from fastapi.testclient import TestClient from .utils import needs_py310 class Dep: def __call__(self, request: Request): return "test" @needs_py310 def test_stringified_annotations(): app = FastAPI() client = TestClient(app) @app.get("/test/")Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 545 bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactory.java
* Creates artifact coordinates. * * @param request the request holding coordinates creation parameters * @return an {@code ArtifactCoordinates}, never {@code null} * @throws IllegalArgumentException if {@code request} is null or {@code request.session} is null or invalid */ @Nonnull ArtifactCoordinates create(@Nonnull ArtifactCoordinatesFactoryRequest request); /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Mar 24 14:10:11 GMT 2025 - 3.4K bytes - Click Count (0)