Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for retryAfter (0.07 seconds)

  1. okhttp/src/commonJvmAndroid/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
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue May 27 14:58:02 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  2. internal/http/server.go

    			// To indicate disable keep-alive, server is shutting down.
    			w.Header().Set("Connection", "close")
    
    			// Add 1 minute retry header, incase-client wants to honor it
    			w.Header().Set(RetryAfter, "60")
    
    			w.WriteHeader(http.StatusServiceUnavailable)
    			w.Write([]byte(http.ErrServerClosed.Error()))
    			return
    		}
    
    		atomic.AddInt32(&srv.requestCount, 1)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  3. 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"
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed May 07 15:37:12 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  4. 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 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:05:19 GMT 2025
    - 23.3K bytes
    - Click Count (0)
  5. cmd/api-response.go

    		// Set retry-after header to indicate user-agents to retry request after 60 seconds.
    		// https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After
    		w.Header().Set(xhttp.RetryAfter, "60")
    	}
    
    	switch err.Code {
    	case "InvalidRegion":
    		err.Description = fmt.Sprintf("Region does not match; expecting '%s'.", globalSite.Region())
    	case "AuthorizationHeaderMalformed":
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:05:19 GMT 2025
    - 35K bytes
    - Click Count (0)
  6. 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";
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Mar 27 20:37:16 GMT 2025
    - 35.4K bytes
    - Click Count (0)
Back to Top