Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 587 for proceed (0.56 sec)

  1. okhttp-brotli/src/main/kotlin/okhttp3/brotli/BrotliInterceptor.kt

          val request =
            chain.request().newBuilder()
              .header("Accept-Encoding", "br,gzip")
              .build()
    
          val response = chain.proceed(request)
    
          uncompress(response)
        } else {
          chain.proceed(chain.request())
        }
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/InterceptorTest.kt

            "network interceptor $interceptor must call proceed() exactly once",
          )
        }
      }
    
      @Test
      fun networkInterceptorsCannotCallProceedMultipleTimes() {
        server.enqueue(MockResponse())
        server.enqueue(MockResponse())
        val interceptor =
          Interceptor { chain: Interceptor.Chain ->
            chain.proceed(chain.request())
            chain.proceed(chain.request())
          }
        client =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt

              latch2.countDown()
            }
          }
        val request2Listener: EventListener =
          object : EventListener() {
            override fun connectStart(
              call: Call,
              inetSocketAddress: InetSocketAddress,
              proxy: Proxy,
            ) {
              // Let request1 proceed to make a connection.
              latch1.countDown()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Interceptor.kt

         * val interceptor = Interceptor { chain: Interceptor.Chain ->
         *     chain.proceed(chain.request())
         * }
         * ```
         */
        inline operator fun invoke(crossinline block: (chain: Chain) -> Response): Interceptor = Interceptor { block(it) }
      }
    
      interface Chain {
        fun request(): Request
    
        @Throws(IOException::class)
        fun proceed(request: Request): Response
    
        /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  5. buildscripts/verify-healing-empty-erasure-set.sh

    			cat "${WORK_DIR}/dist-minio-server$i.log"
    		done
    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	sleep 1
    	if pgrep minio; then
    		# forcibly killing, to proceed further properly.
    		if ! pkill -9 minio; then
    			echo "no minio process running anymore, proceed."
    		fi
    	fi
    }
    
    function check_online() {
    	if ! grep -q 'Status:' ${WORK_DIR}/dist-minio-*.log; then
    		echo "1"
    	fi
    }
    
    function purge() {
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http/RealInterceptorChain.kt

      }
    
      override fun call(): Call = call
    
      override fun request(): Request = request
    
      @Throws(IOException::class)
      override fun proceed(request: Request): Response {
        check(index < interceptors.size)
    
        calls++
    
        if (exchange != null) {
          check(exchange.finder.routePlanner.sameHostAndPort(request.url)) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  7. cmd/object-handlers-common.go

    	// is obviously garbage (Unix time == 0), then ignore modtimes
    	// and don't process the If-Modified-Since header.
    	if objInfo.ModTime.IsZero() || objInfo.ModTime.Equal(time.Unix(0, 0)) {
    		return false
    	}
    
    	// If top level is a delete marker proceed to upload.
    	if objInfo.DeleteMarker {
    		return false
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 09 08:17:49 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  8. operator/cmd/mesh/operator-remove.go

    		}
    	}
    
    	var message string
    	message = "All revisions of Istio operator will be removed from cluster, Proceed? (y/N)"
    	if orArgs.revision != "" {
    		message = "Istio operator revision " + orArgs.revision + " will be removed from cluster, Proceed? (y/N)"
    	}
    	if !orArgs.skipConfirmation && !args.DryRun && !Confirm(message, cmd.OutOrStdout()) {
    		cmd.Print("Cancelled.\n")
    		os.Exit(1)
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http/BridgeInterceptor.kt

        }
    
        if (userRequest.header("User-Agent") == null) {
          requestBuilder.header("User-Agent", USER_AGENT)
        }
    
        val networkRequest = requestBuilder.build()
        val networkResponse = chain.proceed(networkRequest)
    
        cookieJar.receiveHeaders(networkRequest.url, networkResponse.headers)
    
        val responseBuilder =
          networkResponse.newBuilder()
            .request(networkRequest)
    
        if (transparentGzip &&
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (2)
  10. okhttp/src/test/java/okhttp3/DispatcherTest.kt

        assertThat(idle.get()).isFalse()
        val ready = CountDownLatch(1)
        val proceed = CountDownLatch(1)
        client =
          client.newBuilder()
            .addInterceptor(
              Interceptor { chain: Interceptor.Chain ->
                ready.countDown()
                try {
                  proceed.await(5, TimeUnit.SECONDS)
                } catch (e: InterruptedException) {
                  throw RuntimeException(e)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 12.7K bytes
    - Viewed (0)
Back to top