Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 821 for requestId (0.07 sec)

  1. mockwebserver/README.md

      // Optional: confirm that your app made the HTTP requests you were expecting.
      RecordedRequest request1 = server.takeRequest();
      assertEquals("/v1/chat/messages/", request1.getPath());
      assertNotNull(request1.getHeader("Authorization"));
    
      RecordedRequest request2 = server.takeRequest();
      assertEquals("/v1/chat/messages/2", request2.getPath());
    
      RecordedRequest request3 = server.takeRequest();
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 17 15:34:10 UTC 2023
    - 5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CallTest.kt

            .cache(cache)
            .build()
        val request1 = Request(server.url("/"))
        client.newCall(request1).enqueue(callback)
        callback.await(request1.url).assertCode(200).assertBody("A")
        assertThat(server.takeRequest().headers["If-None-Match"]).isNull()
        val request2 = Request(server.url("/"))
        client.newCall(request2).enqueue(callback)
        callback.await(request2.url).assertCode(200).assertBody("A")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  3. okhttp/src/test/java/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().sequenceNumber).isEqualTo(i)
        }
      }
    
      private fun assertConnectionNotReused(vararg requests: Request?) {
        for (request in requests) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt

      val bodySize: Long,
      /** The body of this POST request. This may be truncated. */
      val body: Buffer,
      /**
       * The index of this request on its HTTP connection. Since a single HTTP connection may serve
       * multiple requests, each request is assigned its own sequence number.
       */
      val sequenceNumber: Int,
      socket: Socket,
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/flowcontrol/v1beta3/generated.proto

    // at least one member of verbs matches the request, (b) at least one
    // member of apiGroups matches the request, (c) at least one member of
    // resources matches the request, and (d) either (d1) the request does
    // not specify a namespace (i.e., `Namespace==""`) and clusterScope is
    // true or (d2) the request specifies a namespace and least one member
    // of namespaces matches the request's namespace.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CacheTest.kt

          ),
        )
      }
    
      @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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/RequestCommonTest.kt

        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")
        assertThat(requestC.tag(String::class)).isSameAs("c")
      }
    
      @Test
      fun requestToStringRedactsSensitiveHeaders() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. docs/de/docs/advanced/using-request-directly.md

    ///
    
    ## `Request`-Dokumentation
    
    Weitere Details zum <a href="https://www.starlette.io/requests/" class="external-link" target="_blank">`Request`-Objekt finden Sie in der offiziellen Starlette-Dokumentation</a>.
    
    /// note | "Technische Details"
    
    Sie können auch `from starlette.requests import Request` verwenden.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. docs/de/docs/how-to/custom-request-and-route.md

    Ein `Request` hat auch ein `request.receive`, welches eine Funktion ist, die den Hauptteil des Requests empfängt.
    
    Das `scope`-`dict` und die `receive`-Funktion sind beide Teil der ASGI-Spezifikation.
    
    Und diese beiden Dinge, `scope` und `receive`, werden benötigt, um eine neue `Request`-Instanz zu erstellen.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. docs/pt/docs/advanced/using-request-directly.md

    ///
    
    ## Documentação do `Request`
    
    Você pode ler mais sobre os detalhes do objeto <a href="https://www.starlette.io/requests/" class="external-link" target="_blank">`Request` no site da documentação oficial do Starlette.</a>.
    
    /// note | "Detalhes Técnicos"
    
    Você também pode utilizar `from starlette.requests import Request`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top