Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 935 for requestID (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 121K bytes
    - Click Count (0)
  2. docs/ru/docs/how-to/custom-request-and-route.md

    /// note | Технические детали
    
    У `Request` есть атрибут `request.scope` — это просто Python-`dict`, содержащий метаданные, связанные с HTTP-запросом.
    
    У `Request` также есть `request.receive` — функция для «получения» тела запроса.
    
    И `dict` `scope`, и функция `receive` являются частью спецификации ASGI.
    
    Именно этих двух компонентов — `scope` и `receive` — достаточно, чтобы создать новый экземпляр `Request`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  3. docs/zh/docs/how-to/custom-request-and-route.md

    /// note | 技术细节
    
    `Request` 拥有 `request.scope` 属性,它就是一个 Python `dict`,包含与请求相关的元数据。
    
    `Request` 还包含 `request.receive`,它是一个用于“接收”请求体的函数。
    
    `scope` 字典和 `receive` 函数都是 ASGI 规范的一部分。
    
    创建一个新的 `Request` 实例需要这两样:`scope` 和 `receive`。
    
    想了解更多关于 `Request` 的信息,请查看 [Starlette 的 Request 文档](https://www.starlette.dev/requests/)。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt

            .cookieJar(JavaNetCookieJar(cookieManager))
            .build()
        get(urlWithIpAddress(server, "/"))
        val request1 = server.takeRequest()
        assertThat(request1.headers["Cookie"]).isNull()
        get(urlWithIpAddress(server, "/"))
        val request2 = server.takeRequest()
        assertThat(request2.headers["Cookie"]).isEqualTo("a=android; b=banana")
      }
    
      @Test
      fun testRedirectsDoNotIncludeTooManyCookies() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Mar 19 07:46:39 GMT 2026
    - 14.5K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/using-request-directly.md

    You can read more details about the [`Request` object in the official Starlette documentation site](https://www.starlette.dev/requests/).
    
    /// 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.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  6. docs/fr/docs/advanced/using-request-directly.md

    ///
    
    ## Documentation de `Request` { #request-documentation }
    
    Vous pouvez lire plus de détails sur [l'objet `Request` sur le site de documentation officiel de Starlette](https://www.starlette.dev/requests/).
    
    /// note | Détails techniques
    
    Vous pouvez également utiliser `from starlette.requests import Request`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  7. 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
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  8. 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.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jun 21 20:36:35 GMT 2025
    - 3.2K bytes
    - Click Count (1)
  9. 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 [`python-multipart`](https://github.com/Kludex/python-multipart).
    
    Make sure you create a [virtual environment](../virtual-environments.md), activate it, and then install it, for example:
    
    ```console
    $ pip install python-multipart
    ```
    
    This is because uploaded files are sent as "form data".
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7K bytes
    - Click Count (0)
  10. docs/en/docs/how-to/custom-request-and-route.md

    Some use cases include:
    
    * Converting non-JSON request bodies to JSON (e.g. [`msgpack`](https://msgpack.org/index.html)).
    * Decompressing gzip-compressed request bodies.
    * Automatically logging all request bodies.
    
    ## Handling custom request body encodings { #handling-custom-request-body-encodings }
    
    Let's see how to make use of a custom `Request` subclass to decompress gzip requests.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.4K bytes
    - Click Count (0)
Back to Top