Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,772 for request (0.08 sec)

  1. okhttp/src/test/java/okhttp3/SocksProxyTest.kt

            .proxy(socksProxy.proxy())
            .build()
        val request1 = Request.Builder().url(server.url("/")).build()
        val response1 = client.newCall(request1).execute()
        assertThat(response1.body.string()).isEqualTo("abc")
        val request2 = Request.Builder().url(server.url("/")).build()
        val response2 = client.newCall(request2).execute()
        assertThat(response2.body.string()).isEqualTo("def")
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. common-protos/k8s.io/api/flowcontrol/v1alpha1/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.4K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/flowcontrol/v1beta2/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.4K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

            }
          }
    
        // Make the first request waiting until we get our auth challenge.
        val request = Request(server.url("/"))
        blockingAuthClient.newCall(request).enqueue(callback)
        val response1 = responses.take()
        assertThat(response1).isEqualTo("")
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  5. docs/features/interceptors.md

    ```java
    class LoggingInterceptor implements Interceptor {
      @Override public Response intercept(Interceptor.Chain chain) throws IOException {
        Request request = chain.request();
    
        long t1 = System.nanoTime();
        logger.info(String.format("Sending request %s on %s%n%s",
            request.url(), chain.connection(), request.headers()));
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/DuplexTest.kt

            .addHeader("h2", "v2")
            .streamHandler(body)
            .build(),
        )
        val request =
          Request.Builder()
            .url(server.url("/"))
            .method("POST", AsyncRequestBody())
            .build()
        val call = client.newCall(request)
        call.execute().use { response ->
          val sink = (request.body as AsyncRequestBody?)!!.takeSink()
          sink.writeUtf8("hey\n")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

            // spec says that we may repeat the request without modifications. Modern browsers also
            // repeat the request (even non-idempotent ones.)
            if (!client.retryOnConnectionFailure) {
              // The application layer has directed us not to retry the request.
              return null
            }
    
            val requestBody = userResponse.request.body
            if (requestBody != null && requestBody.isOneShot()) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/Call.kt

    import okio.Timeout
    
    /**
     * A call is a request that has been prepared for execution. A call can be canceled. As this object
     * represents a single request/response pair (stream), it cannot be executed twice.
     */
    interface Call : Cloneable {
      /** Returns the original request that initiated this call. */
      fun request(): Request
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  9. 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)
  10. okhttp/src/main/kotlin/okhttp3/Cache.kt

            throw IOException(e.message)
          }
        }
    
        fun matches(
          request: Request,
          response: Response,
        ): Boolean {
          return url == request.url &&
            requestMethod == request.method &&
            varyMatches(response, varyHeaders, request)
        }
    
        fun response(snapshot: DiskLruCache.Snapshot): Response {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 26.8K bytes
    - Viewed (0)
Back to top