Bird
Raised Fist0

Which of the following is a valid Retry-After header value?

easy📝 Syntax Q3 of Q15
Rest API - Rate Limiting and Throttling

Which of the following is a valid Retry-After header value?

ARetry-After: Wed, 21 Oct 2015 07:28:00 GMT
BRetry-After: 60
CRetry-After: 2024-07-01T12:00:00Z
DRetry-After: 3.5
Step-by-Step Solution
Solution:
  1. Step 1: Understand valid Retry-After formats

    Retry-After accepts either an HTTP-date or a delay in seconds (integer).
  2. Step 2: Evaluate each option

    Retry-After: 2024-07-01T12:00:00Z uses ISO 8601 format which is invalid; Retry-After: 60 is valid integer but missing header name in question context; Retry-After: Wed, 21 Oct 2015 07:28:00 GMT is a valid HTTP-date format; Retry-After: 3.5 uses a decimal which is invalid.
  3. Final Answer:

    Retry-After: Wed, 21 Oct 2015 07:28:00 GMT -> Option A
  4. Quick Check:

    Retry-After accepts HTTP-date or integer seconds [OK]
Quick Trick: Retry-After date must be HTTP-date format, not ISO8601 [OK]
Common Mistakes:
MISTAKES
  • Using decimal numbers instead of integers
  • Using ISO 8601 instead of HTTP-date
  • Omitting the header name in examples

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Rest API Quizzes