- Sort Score
- Num 10 results
- Language All
Results 621 - 630 of 1,649 for request (0.06 seconds)
-
docs_src/middleware/tutorial001_py39.py
import time from fastapi import FastAPI, Request app = FastAPI() @app.middleware("http") async def add_process_time_header(request: Request, call_next): start_time = time.perf_counter() response = await call_next(request) process_time = time.perf_counter() - start_time response.headers["X-Process-Time"] = str(process_time)
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 365 bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java
* functionality. This implementation uses request-scoped caching ({@link CacheRetention#REQUEST_SCOPED}) * since it represents a POM file that is actively being built and may change during the build process. * <p> * The request-scoped retention policy ensures that: * <ul> * <li>Changes to the POM file during the build are detected</li>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 8.2K bytes - Click Count (0) -
docs/features/caching.md
)) .build() ``` ## EventListener events Cache Events are exposed via the EventListener API. Typical scenarios are below. ### Cache Hit In the ideal scenario the cache can fulfill the request without any conditional call to the network. This will skip the normal events such as DNS, connecting to the network, and downloading the response body.Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 3.1K bytes - Click Count (1) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
request.setShowErrors(context.options().showErrors().orElse(false)); request.setBaseDirectory(context.invokerRequest.topDirectory().toFile()); request.setSystemProperties(toProperties(context.protoSession.getSystemProperties())); request.setUserProperties(toProperties(context.protoSession.getUserProperties())); request.setInstallationSettingsFile(
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Oct 28 13:01:07 GMT 2025 - 43.2K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/CertificatePinning.java
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Dec 08 21:30:01 GMT 2019 - 1.7K bytes - Click Count (0) -
.github/ISSUE_TEMPLATE/tflite-other.md
Build/Install - Performance - Support - Feature Request - Documentation Feature Request - Documentation Bug - Others validations: required: true - type: markdown attributes: value: | Please make sure that this is a bug. As per our [GitHub Policy](https://github.com/tensorflow/tensorflow/blob/master/ISSUES.md),we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. - type: markdown
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Thu Dec 29 22:28:29 GMT 2022 - 3.4K bytes - Click Count (0) -
okhttp-brotli/src/test/java/okhttp3/brotli/BrotliInterceptorTest.kt
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Aug 22 08:12:58 GMT 2025 - 4.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/InsecureForHostTest.kt
val client = clientTestRule .newClientBuilder() .sslSocketFactory(clientCertificates.sslSocketFactory(), clientCertificates.trustManager) .build() val call = client.newCall(Request(server.url("/"))) val response = call.execute() assertThat(response.code).isEqualTo(200) assertThat(response.handshake!!.cipherSuite).isNotNull() assertThat(response.handshake!!.tlsVersion).isNotNull()Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 4.2K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/model/ModelBuilderTest.java
DefaultProjectBuildingRequest request = new DefaultProjectBuildingRequest(); RepositorySystemSession.CloseableSession rsession = repositorySessionFactory .newRepositorySessionBuilder(mavenRequest) .build(); request.setRepositorySession(rsession);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 4.1K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java
import okhttp3.Protocol; import okhttp3.Request; import okhttp3.Response; import okhttp3.ResponseBody; public final class PrintEvents { private final OkHttpClient client = new OkHttpClient.Builder() .eventListenerFactory(PrintingEventListener.FACTORY) .build(); public void run() throws Exception { Request washingtonPostRequest = new Request.Builder() .url("https://www.washingtonpost.com/")Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Feb 16 23:20:49 GMT 2020 - 6.1K bytes - Click Count (0)