Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for expectContinue (0.31 sec)

  1. pkg/kubelet/prober/worker_test.go

    		tests := []struct {
    			probe                v1.Probe
    			podStatus            *v1.PodStatus
    			expectContinue       map[string]bool
    			expectSet            bool
    			expectedResult       results.Result
    			setDeletionTimestamp bool
    		}{
    			{ // No status.
    				expectContinue: map[string]bool{
    					liveness.String():  true,
    					readiness.String(): true,
    					startup.String():   true,
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 07 23:48:10 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http/ExchangeCodec.kt

      fun finishRequest()
    
      /**
       * Parses bytes of a response header from an HTTP transport.
       *
       * @param expectContinue true to return null if this is an intermediate response with a "100"
       * response code. Otherwise this method never returns null.
       */
      @Throws(IOException::class)
      fun readResponseHeaders(expectContinue: Boolean): Response.Builder?
    
      @Throws(IOException::class)
      fun reportedContentLength(response: Response): Long
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

            if ("100-continue".equals(request.header("Expect"), ignoreCase = true)) {
              exchange.flushRequest()
              responseBuilder = exchange.readResponseHeaders(expectContinue = true)
              exchange.responseHeadersStart()
              invokeStartEvent = false
            }
            if (responseBuilder == null) {
              if (requestBody.isDuplex()) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt

        stream!!.getSink().close()
      }
    
      override fun readResponseHeaders(expectContinue: Boolean): Response.Builder? {
        val stream = stream ?: throw IOException("stream wasn't created")
        val headers = stream.takeHeaders(callerIsIdle = expectContinue)
        val responseBuilder = readHttp2HeadersList(headers, protocol)
        return if (expectContinue && responseBuilder.code == HTTP_CONTINUE) {
          null
        } else {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    			expectContinue:       false,
    		},
    		{
    			name:   "test List with filter returning two items, more pages possible",
    			prefix: "/pods",
    			pred: storage.SelectionPredicate{
    				Field: fields.OneTermEqualSelector("metadata.name", "bar"),
    				Label: labels.Everything(),
    				Limit: 2,
    			},
    			expectContinue: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/connection/Exchange.kt

      }
    
      fun responseHeadersStart() {
        eventListener.responseHeadersStart(call)
      }
    
      @Throws(IOException::class)
      fun readResponseHeaders(expectContinue: Boolean): Response.Builder? {
        try {
          val result = codec.readResponseHeaders(expectContinue)
          result?.initExchange(this)
          return result
        } catch (e: IOException) {
          eventListener.responseFailed(call, e)
          trackFailure(e)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

            .writeUtf8(": ")
            .writeUtf8(headers.value(i))
            .writeUtf8("\r\n")
        }
        sink.writeUtf8("\r\n")
        state = STATE_OPEN_REQUEST_BODY
      }
    
      override fun readResponseHeaders(expectContinue: Boolean): Response.Builder? {
        check(
          state == STATE_OPEN_REQUEST_BODY ||
            state == STATE_WRITING_REQUEST_BODY ||
            state == STATE_READ_RESPONSE_HEADERS,
        ) {
          "state: $state"
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  8. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/SocketPolicy.kt

      DISCONNECT_DURING_RESPONSE_BODY,
      DO_NOT_READ_REQUEST_BODY,
      FAIL_HANDSHAKE,
      SHUTDOWN_INPUT_AT_END,
      SHUTDOWN_OUTPUT_AT_END,
      STALL_SOCKET_AT_START,
      NO_RESPONSE,
      RESET_STREAM_AT_START,
      EXPECT_CONTINUE,
      CONTINUE_ALWAYS,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1K bytes
    - Viewed (0)
  9. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/DeprecationBridge.kt

      }
    
      result.settings(settings)
      result.status = status
      result.headers(headers)
      result.trailers(trailers)
      result.socketPolicy =
        when (socketPolicy) {
          SocketPolicy.EXPECT_CONTINUE, SocketPolicy.CONTINUE_ALWAYS -> {
            result.add100Continue()
            KeepOpen
          }
          SocketPolicy.UPGRADE_TO_SSL_AT_END -> {
            result.inTunnel()
            KeepOpen
          }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. platforms/core-execution/build-cache-http/src/main/java/org/gradle/caching/http/internal/HttpBuildCacheService.java

            final URI uri = root.resolve(key.getHashCode());
            HttpPut httpPut = new HttpPut(uri);
            if (useExpectContinue) {
                httpPut.setHeader(HTTP.EXPECT_DIRECTIVE, HTTP.EXPECT_CONTINUE);
            }
            httpPut.addHeader(HttpHeaders.CONTENT_TYPE, BUILD_CACHE_CONTENT_TYPE);
            requestCustomizer.customize(httpPut);
    
            httpPut.setEntity(new AbstractHttpEntity() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 14:13:12 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top