- Sort Score
- Result 10 results
- Languages All
Results 721 - 730 of 1,520 for Requests (0.09 sec)
-
samples/guide/src/main/java/okhttp3/recipes/PerCallSettings.java
import java.io.IOException; import java.util.concurrent.TimeUnit; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; public final class PerCallSettings { private final OkHttpClient client = new OkHttpClient(); public void run() throws Exception { Request request = new Request.Builder() .url("http://httpbin.org/delay/1") // This URL is served with a 1 second delay. .build();
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun May 22 01:29:42 UTC 2016 - 1.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/DefaultRepositoryRequest.java
RepositoryRequest request = new DefaultRepositoryRequest(); request.setLocalRepository(session.getLocalRepository()); if (project != null) { request.setRemoteRepositories(project.getPluginArtifactRepositories()); } request.setOffline(session.isOffline()); request.setForceUpdate(session.getRequest().isUpdateSnapshots());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.5K bytes - Viewed (0) -
docs_src/behind_a_proxy/tutorial003.py
from fastapi import FastAPI, Request app = FastAPI( servers=[ {"url": "https://stag.example.com", "description": "Staging environment"}, {"url": "https://prod.example.com", "description": "Production environment"}, ], root_path="/api/v1", ) @app.get("/app") def read_main(request: Request):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 10 17:28:18 UTC 2020 - 405 bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CheckHandshake.java
} } return chain.proceed(chain.request()); } }; private final OkHttpClient client = new OkHttpClient.Builder() .addNetworkInterceptor(CHECK_HANDSHAKE_INTERCEPTOR) .build(); public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/helloworld.txt") .build();
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 14:55:09 UTC 2024 - 2.1K bytes - Viewed (0) -
cmd/handler-utils_test.go
// Corrupted XML malformedReq := &http.Request{ Body: io.NopCloser(bytes.NewReader([]byte("<>"))), ContentLength: int64(len("<>")), } // Not an XML badRequest := &http.Request{ Body: io.NopCloser(bytes.NewReader([]byte("garbage"))), ContentLength: int64(len("garbage")), } // generates the input request with XML bucket configuration set to the request body.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 6.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CorrettoTest.kt
assumeNetwork() val request = Request.Builder().url("https://mozilla.org/robots.txt").build() client.newCall(request).execute().use { assertThat(it.protocol).isEqualTo(Protocol.HTTP_2) assertThat(it.handshake!!.tlsVersion).isEqualTo(TlsVersion.TLS_1_3) } } @Test @Disabled fun testGoogle() { assumeNetwork()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationRequest.java
* under the License. */ package org.apache.maven.configuration; /** * A request to configure a bean from some configuration in the POM or similar. * */ public interface BeanConfigurationRequest { /** * Gets the bean to configure. Eventually, a valid request must have a bean set. * * @return The bean to configure, or {@code null} if none. */ Object getBean();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.9K bytes - Viewed (0) -
docs_src/behind_a_proxy/tutorial004.py
from fastapi import FastAPI, Request app = FastAPI( servers=[ {"url": "https://stag.example.com", "description": "Staging environment"}, {"url": "https://prod.example.com", "description": "Production environment"}, ], root_path="/api/v1", root_path_in_servers=False, ) @app.get("/app") def read_main(request: Request):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 10 17:28:18 UTC 2020 - 437 bytes - Viewed (0) -
test-site/app/models/ContentsCreator.java
} } } protected void addSubLink(final Queue<String> queue, final String html, final HttpUriRequest request) { String schema = request.getURI().getScheme(); String host = request.getURI().getHost(); String originUri = request.getURI().toString(); String h = html; final String tag = "<a href=\""; int linkPos;
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Fri Nov 06 08:48:32 UTC 2015 - 3.7K bytes - Viewed (0) -
tests/test_dependency_contextvars.py
yield request_state legacy_request_state_context_var.reset(contextvar_token) @app.middleware("http") async def custom_middleware( request: Request, call_next: Callable[[Request], Awaitable[Response]] ): response = await call_next(request) response.headers["custom"] = "foo" return response @app.get("/user", dependencies=[Depends(set_up_request_state_dependency)]) def get_user():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Feb 17 12:40:12 UTC 2022 - 1.5K bytes - Viewed (0)