Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for StatusTooManyRequests (0.11 sec)

  1. cmd/object-lambda-handlers.go

    	"Upgrade Required":                http.StatusUpgradeRequired,
    	"Precondition Required":           http.StatusPreconditionRequired,
    	"Too Many Requests":               http.StatusTooManyRequests,
    	"Request Header Fields Too Large": http.StatusRequestHeaderFieldsTooLarge,
    	"Unavailable For Legal Reasons":   http.StatusUnavailableForLegalReasons,
    	"Internal Server Error":           http.StatusInternalServerError,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. api/go1.6.txt

    pkg net/http, const StatusPreconditionRequired ideal-int
    pkg net/http, const StatusRequestHeaderFieldsTooLarge = 431
    pkg net/http, const StatusRequestHeaderFieldsTooLarge ideal-int
    pkg net/http, const StatusTooManyRequests = 429
    pkg net/http, const StatusTooManyRequests ideal-int
    pkg net/http, const StatusUnavailableForLegalReasons = 451
    pkg net/http, const StatusUnavailableForLegalReasons ideal-int
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jan 13 23:40:13 UTC 2016
    - 12.9K bytes
    - Viewed (0)
  3. cmd/api-response.go

    // writeErrorResponse writes error headers
    func writeErrorResponse(ctx context.Context, w http.ResponseWriter, err APIError, reqURL *url.URL) {
    	switch err.HTTPStatusCode {
    	case http.StatusServiceUnavailable, http.StatusTooManyRequests:
    		// 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")
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
Back to top