- Sort Score
- Num 10 results
- Language All
Results 391 - 400 of 2,544 for request (0.05 seconds)
-
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java
/** * SuggestRequest is a class that handles the request for suggestions. * It extends the Request class with a SuggestResponse type. * * <p>This class provides various methods to set parameters for the suggestion request, * such as index, query, size, tags, roles, fields, kinds, languages, and other configurations. * It also includes methods to build and process the request using OpenSearch's client.</p> *
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 13.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CurlHelperTest.java
CurlRequest request = curlHelper.delete("/test"); assertNotNull(request); // The request should be properly created } @Test public void test_request_withMethodAndPath() { setupMockConfig("localhost:9200", "", ""); curlHelper.init(); CurlRequest request = curlHelper.request(Curl.Method.GET, "/test"); assertNotNull(request); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 10.4K 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 Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 31 20:56:58 GMT 2025 - 1.6K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java
VersionRangeRequest request, Metadata.Nature wantedNature) { RequestTrace trace = RequestTrace.newChild(request.getTrace(), request); Map<String, ArtifactRepository> versionIndex = new HashMap<>(); Metadata metadata = new DefaultMetadata( request.getArtifact().getGroupId(), request.getArtifact().getArtifactId(),Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 11.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecyclePluginResolver.java
if (plugin.getVersion() == null) { PluginVersionRequest request = new DefaultPluginVersionRequest( plugin, session.getRepositorySession(), project.getRemotePluginRepositories()); plugin.setVersion(pluginVersionResolver.resolve(request).getVersion()); } versions.put(plugin.getKey(), plugin.getVersion()); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt
if (networkRequest == null && cacheResponse == null) { return Response .Builder() .request(chain.request()) .protocol(Protocol.HTTP_1_1) .code(HTTP_GATEWAY_TIMEOUT) .message("Unsatisfiable Request (only-if-cached)") .sentRequestAtMillis(-1L) .receivedResponseAtMillis(System.currentTimeMillis()) .build() .also {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jan 11 12:06:21 GMT 2026 - 10.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt
// spec says that we may repeat the request without modifications. Modern browsers also // repeat the request (even non-idempotent ones.) if (!chain.retryOnConnectionFailure) { // The application layer has directed us not to retry the request. return null } val requestBody = userResponse.request.body if (requestBody != null && requestBody.isOneShot()) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 12.5K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PostStreaming.kt
if (x * i == n) return "${factor(x)} × $i" } return n.toString() } } val request = Request( url = "https://api.github.com/markdown/raw".toHttpUrl(), body = requestBody, ) client.newCall(request).execute().use { response -> if (!response.isSuccessful) throw IOException("Unexpected code $response") println(response.body.string())
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.9K bytes - Click Count (0) -
docs/lambda/README.md
Install the necessary dependencies. ```sh pip install flask requests ``` Following is an example lambda handler. ```py from flask import Flask, request, abort, make_response import requests app = Flask(__name__) @app.route('/', methods=['POST']) def get_webhook(): if request.method == 'POST': # obtain the request event from the 'POST' call event = request.json object_context = event["getObjectContext"]
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 7.7K bytes - Click Count (0) -
tests/test_route_scope.py
import pytest from fastapi import FastAPI, Request, WebSocket, WebSocketDisconnect from fastapi.routing import APIRoute, APIWebSocketRoute from fastapi.testclient import TestClient app = FastAPI() @app.get("/users/{user_id}") async def get_user(user_id: str, request: Request): route: APIRoute = request.scope["route"] return {"user_id": user_id, "path": route.path} @app.websocket("/items/{item_id}")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Sep 29 03:29:38 GMT 2025 - 1.5K bytes - Click Count (0)