- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 721 for requester (0.05 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionReuseTest.kt
private fun assertConnectionReused(vararg requests: Request?) { for (i in requests.indices) { val response = client.newCall(requests[i]!!).execute() response.body.string() // Discard the response body. assertThat(server.takeRequest().exchangeIndex).isEqualTo(i) } } private fun assertConnectionNotReused(vararg requests: Request?) { for (request in requests) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
void testMultipleRequests() { Smb2EchoRequest request1 = new Smb2EchoRequest(mockConfig); Smb2EchoRequest request2 = new Smb2EchoRequest(mockConfig); // Both should have same properties assertEquals(request1.getCommand(), request2.getCommand()); assertEquals(request1.size(), request2.size()); // But be different objects
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
docs/en/docs/tutorial/request-files.md
# Request Files { #request-files } You can define files to be uploaded by the client using `File`. /// info To receive uploaded files, first install <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>. Make sure you create a [virtual environment](../virtual-environments.md){.internal-link target=_blank}, activate it, and then install it, for example: ```console
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.3K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt
/** The total size of the body of this request (before truncation).*/ public val bodySize: Long, /** * The sizes of the chunks of this request's body, or null if the request's body was not encoded * with chunked encoding. */ public val chunkSizes: List<Int>?, /** * The failure MockWebServer recorded when attempting to decode this request. If, for example, * the inbound request was truncated, this exception will be non-null.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 3.2K bytes - Viewed (0) -
docs/em/docs/advanced/using-request-directly.md
/// ## `Request` ๐งพ ๐ ๐ช โ ๐ โน ๐ <a href="https://www.starlette.io/requests/" class="external-link" target="_blank">`Request` ๐ ๐ ๐ ๐งพ ๐ธ</a>. /// note | ๐ก โน ๐ ๐ช โ๏ธ `from starlette.requests import Request`. **FastAPI** ๐ โซ๏ธ ๐ ๐ช ๐, ๐ฉโ๐ป. โ๏ธ โซ๏ธ ๐ ๐ โช๏ธโก๏ธ ๐.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 1.8K bytes - Viewed (0) -
docs/en/docs/advanced/using-request-directly.md
You can read more details about the <a href="https://www.starlette.io/requests/" class="external-link" target="_blank">`Request` object in the official Starlette documentation site</a>. /// note | Technical Details You could also use `from starlette.requests import Request`. **FastAPI** provides it directly just as a convenience for you, the developer. But it comes directly from Starlette.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.4K bytes - Viewed (0) -
docs/en/docs/reference/request.md
# `Request` class You can declare a parameter in a *path operation function* or dependency to be of type `Request` and then you can access the raw request object directly, without any validation, etc. You can import it directly from `fastapi`: ```python from fastapi import Request ``` /// tip
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 518 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 Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 113.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt
val builder = Request .Builder() .url("https://square.com") val requestA = builder.tag(String::class, "a").build() val requestB = builder.tag(String::class, "b").build() val requestC = requestA.newBuilder().tag(String::class, "c").build() assertThat(requestA.tag(String::class)).isSameAs("a") assertThat(requestB.tag(String::class)).isSameAs("b")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallKotlinTest.kt
client.newCall(request).execute().use { assertEquals(204, it.code) } request = Request .Builder() .url(endpointUrl) .header("Content-Type", "application/xml") .put(ErringRequestBody()) .build() assertFailsWith<IOException> { client.newCall(request).execute() } request = Request .Builder()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 8.4K bytes - Viewed (0)