- Sort Score
- Num 10 results
- Language All
Results 351 - 360 of 1,686 for request (0.1 seconds)
-
compat/maven-settings-builder/src/test/java/org/apache/maven/settings/building/DefaultSettingsBuilderFactoryTest.java
assertNotNull(builder); DefaultSettingsBuildingRequest request = new DefaultSettingsBuildingRequest(); request.setSystemProperties(System.getProperties()); request.setUserSettingsFile(getSettings("simple")); SettingsBuildingResult result = builder.build(request); assertNotNull(result); assertNotNull(result.getEffectiveSettings()); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/version/PluginVersionResolver.java
/** * Resolves a version for a plugin. * * @since 3.0 */ public interface PluginVersionResolver { /** * Resolves the version for the specified request. * * @param request The request that holds the details about the plugin and the repositories to consult, must not be * {@code null}. * @return The result of the version resolution, never {@code null}.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt
val call1 = localClient.newCall(Request(server.url("/"))) call1.execute().use { response -> assertThat(response.body.string()).isEqualTo("Req1") assertThat(response.handshake).isNotNull() assertThat(response.protocol == Protocol.HTTP_1_1) } eventListener.closed = true val call2 = localClient.newCall(Request(server.url("/")))Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 10.4K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/TestUtils.java
InvokerRequest request = mock(InvokerRequest.class); // Mock all required properties for LookupContext constructor when(request.cwd()).thenReturn(workingDirectory); when(request.installationDirectory()).thenReturn(Paths.get("/maven")); when(request.userHomeDirectory()).thenReturn(Paths.get("/home/user")); when(request.topDirectory()).thenReturn(workingDirectory);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 8.9K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/MetadataResolutionRequest.java
import java.util.List; import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.artifact.repository.RepositoryRequest; /** * Forms a request to retrieve artifact metadata. * */ @Deprecated public interface MetadataResolutionRequest extends RepositoryRequest { /** * Indicates whether network access to remote repositories has been disabled.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.9K 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) -
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) -
tests/test_tutorial/test_websockets/test_tutorial003.py
import pytest from fastapi.testclient import TestClient @pytest.fixture( name="mod", params=[ pytest.param("tutorial003_py39"), ], ) def get_mod(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.websockets.{request.param}") return mod @pytest.fixture(name="html") def get_html(mod: ModuleType): return mod.html @pytest.fixture(name="client")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.3K bytes - Click Count (0) -
internal/handlers/proxy.go
addr = strings.Trim(match[1], `"`) } } } return addr } // GetSourceIPRaw retrieves the IP from the request headers // and falls back to r.RemoteAddr when necessary. // however returns without bracketing. func GetSourceIPRaw(r *http.Request) string { addr := GetSourceIPFromHeaders(r) if addr == "" { addr = r.RemoteAddr } // Default to remote address if headers not set.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Feb 26 19:25:49 GMT 2025 - 5.4K bytes - Click Count (0) -
okhttp/api/jvm/okhttp.api
public static synthetic fun delete$default (Lokhttp3/Request$Builder;Lokhttp3/RequestBody;ILjava/lang/Object;)Lokhttp3/Request$Builder; public fun get ()Lokhttp3/Request$Builder; public final fun gzip ()Lokhttp3/Request$Builder; public fun head ()Lokhttp3/Request$Builder; public fun header (Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Request$Builder; public fun headers (Lokhttp3/Headers;)Lokhttp3/Request$Builder;
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 70.2K bytes - Click Count (0)