Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for retryAfter (0.53 sec)

  1. pkg/util/async/bounded_frequency_runner_test.go

    	// Retry was cancelled because we already ran
    	timer.advance(4 * time.Second) // rel=4s since run, 5s since RetryAfter
    	waitForNothing("retry cancelled", t, timer, obj)
    
    	// Rerun happens after maxInterval
    	timer.advance(5 * time.Second) // rel=9s since run, 10s since RetryAfter
    	waitForNothing("premature", t, timer, obj)
    	timer.advance(time.Second) // rel=10s since run
    	waitForRun("maxInterval", t, timer, obj)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 15 09:36:26 UTC 2022
    - 12.5K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

            if (priorResponse != null && priorResponse.code == HTTP_CLIENT_TIMEOUT) {
              // We attempted to retry and got another timeout. Give up.
              return null
            }
    
            if (retryAfter(userResponse, 0) > 0) {
              return null
            }
    
            return userResponse.request
          }
    
          HTTP_UNAVAILABLE -> {
            val priorResponse = userResponse.priorResponse
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness.go

    	w.Header().Set(flowcontrol.ResponseHeaderMatchedFlowSchemaUID, string(classification.FlowSchemaUID))
    }
    
    func tooManyRequests(req *http.Request, w http.ResponseWriter, retryAfter string) {
    	// Return a 429 status indicating "Too Many Requests"
    	w.Header().Set("Retry-After", retryAfter)
    	http.Error(w, "Too many requests, please try again later.", http.StatusTooManyRequests)
    }
    
    // getRequestWaitContext returns a new context with a deadline of how
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  4. internal/http/headers.go

    	ContentRange       = "Content-Range"
    	Connection         = "Connection"
    	AcceptRanges       = "Accept-Ranges"
    	AmzBucketRegion    = "X-Amz-Bucket-Region"
    	ServerInfo         = "Server"
    	RetryAfter         = "Retry-After"
    	Location           = "Location"
    	CacheControl       = "Cache-Control"
    	ContentDisposition = "Content-Disposition"
    	Authorization      = "Authorization"
    	Action             = "Action"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. cmd/api-router.go

    		xhttp.ContentRange,
    		xhttp.ContentEncoding,
    		xhttp.ContentLength,
    		xhttp.ContentType,
    		xhttp.ContentDisposition,
    		xhttp.LastModified,
    		xhttp.ContentLanguage,
    		xhttp.CacheControl,
    		xhttp.RetryAfter,
    		xhttp.AmzBucketRegion,
    		xhttp.Expires,
    		"X-Amz*",
    		"x-amz*",
    		"*",
    	}
    	opts := cors.Options{
    		AllowOriginFunc: func(origin string) bool {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  6. cmd/api-response.go

    		// Set retry-after header to indicate user-agents to retry request after 120secs.
    		// https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After
    		w.Header().Set(xhttp.RetryAfter, "120")
    	}
    
    	switch err.Code {
    	case "InvalidRegion":
    		err.Description = fmt.Sprintf("Region does not match; expecting '%s'.", globalSite.Region())
    	case "AuthorizationHeaderMalformed":
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/net/HttpHeaders.java

       *
       * @since 27.1
       */
      public static final String REPORT_TO = "Report-To";
      /** The HTTP {@code Retry-After} header field name. */
      public static final String RETRY_AFTER = "Retry-After";
      /** The HTTP {@code Server} header field name. */
      public static final String SERVER = "Server";
      /**
       * The HTTP <a href="https://www.w3.org/TR/server-timing/">{@code Server-Timing}</a> header field
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 01 18:44:57 UTC 2024
    - 34.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/HttpHeaders.java

       *
       * @since 27.1
       */
      public static final String REPORT_TO = "Report-To";
      /** The HTTP {@code Retry-After} header field name. */
      public static final String RETRY_AFTER = "Retry-After";
      /** The HTTP {@code Server} header field name. */
      public static final String SERVER = "Server";
      /**
       * The HTTP <a href="https://www.w3.org/TR/server-timing/">{@code Server-Timing}</a> header field
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 01 18:44:57 UTC 2024
    - 34.3K bytes
    - Viewed (0)
Back to top