Bird
0
0

Which HTTP header is used to notify clients that an API feature is deprecated but still available?

easy📝 Conceptual Q2 of 15
Rest API - Versioning Strategies
Which HTTP header is used to notify clients that an API feature is deprecated but still available?
ACache-Control
BSunset
CRetry-After
DDeprecation
Step-by-Step Solution
Solution:
  1. Step 1: Identify the header signaling deprecation

    The Deprecation header explicitly tells clients that a feature is deprecated but still accessible.
  2. Step 2: Eliminate unrelated headers

    Sunset indicates removal date, Retry-After is for rate limiting, Cache-Control manages caching.
  3. Final Answer:

    Deprecation -> Option D
  4. Quick Check:

    Deprecation header = feature deprecated notice [OK]
Quick Trick: Deprecation header warns about deprecated features [OK]
Common Mistakes:
  • Confusing Sunset with deprecation notice
  • Using Retry-After for deprecation
  • Assuming Cache-Control signals deprecation

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Rest API Quizzes