- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 2,443 for Request (0.92 sec)
-
guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java
/** * The interval between two unit requests, at our stable rate. E.g., a stable rate of 5 permits * per second has a stable interval of 200ms. */ double stableIntervalMicros; /** * The time when the next request (no matter its size) will be granted. After granting a request, * this is pushed further in the future. Large requests push this further than small requests. */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
@Test @DisplayName("Should work as complete request-response cycle") void testCompleteRequestResponseCycle() { // Create request Smb2EchoRequest request = new Smb2EchoRequest(mockConfig); // Verify request properties assertEquals(0x000D, request.getCommand()); assertEquals(72, request.size()); // Create responseRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K 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 Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 1.5K bytes - Viewed (0) -
cmd/crossdomain-xml-handler.go
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { cxml := crossDomainXML if globalServerCtxt.CrossDomainXML != "" { cxml = globalServerCtxt.CrossDomainXML } // Look for 'crossdomain.xml' in the incoming request. if r.URL.Path == crossDomainXMLEntity { // Write the standard cross domain policy xml. w.Write([]byte(cxml)) // Request completed, no need to serve to other handlers. return }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Mar 18 06:42:40 UTC 2024 - 2.2K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PostMultipart.java
MEDIA_TYPE_PNG)) .build(); Request request = new Request.Builder() .header("Authorization", "Client-ID " + IMGUR_CLIENT_ID) .url("https://api.imgur.com/3/image") .post(requestBody) .build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jun 24 12:59:42 UTC 2019 - 2.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/RequestTrace.java
* * @param context The context identifier for this request trace, helping to identify the scope or purpose * of the request. May be null if no specific context is needed. * @param parent The parent request trace that led to this request, establishing the chain of nested * operations. May be null for top-level requests. * @param data Additional data associated with this request trace, typically containing the actual request
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Oct 16 06:12:36 UTC 2025 - 2.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
"c6", ), ) } @Test fun getHasCorrectResponse() { val request = Request(server.url("/abc")) val response = testBasicCachingRules(request) assertThat(response.request.url).isEqualTo(request.url) assertThat(response.cacheResponse!!.request.url).isEqualTo(request.url) } @Test fun postWithOverrideResponse() {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 03 17:41:45 UTC 2025 - 116.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequest.java
import jcifs.internal.smb2.lease.Smb2LeaseKey; import jcifs.internal.util.SMBUtil; /** * SMB2 Lease V1 Create Context Request * * MS-SMB2 2.2.13.2.8 */ public class LeaseV1CreateContextRequest implements CreateContextRequest { /** * Context name for lease request */ public static final String CONTEXT_NAME = "RqLs";Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 4.6K bytes - Viewed (0) -
internal/handlers/forwarder.go
if f.Logger != nil && err != context.Canceled { f.Logger(err) } w.WriteHeader(http.StatusBadGateway) } func (f *Forwarder) getURLFromRequest(req *http.Request) *url.URL { // If the Request was created by Go via a real HTTP request, RequestURI will // contain the original query string. If the Request was created in code, RequestURI
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 5.7K bytes - Viewed (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt
), ) val source = newEventSource() assertThat(source.request().url.encodedPath).isEqualTo("/") listener.assertFailure(code = 401, message = "{\"error\":{\"message\":\"No auth credentials found\",\"code\":401}}") } private fun newEventSource(accept: String? = null): EventSource { val builder = Request .Builder() .url(server.url("/")) if (accept != null) {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 8.8K bytes - Viewed (0)