Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 751 for requester (0.05 sec)

  1. src/test/java/org/codelibs/curl/CurlTest.java

            // ## Act ##
            final CurlRequest request1 = Curl.get("http://example.com");
            final CurlRequest request2 = Curl.get("http://example.com");
    
            // ## Assert ##
            assertNotNull(request1);
            assertNotNull(request2);
            assertTrue("Factory methods should return different instances", request1 != request2);
        }
    
        /*
        @Test
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. docs/en/docs/how-to/custom-request-and-route.md

    Here we use it to create a `GzipRequest` from the original request.
    
    {* ../../docs_src/custom_request_and_route/tutorial001.py hl[18:26] *}
    
    /// note | Technical Details
    
    A `Request` has a `request.scope` attribute, that's just a Python `dict` containing the metadata related to the request.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top