Bird
Raised Fist0

Why is embedding version info only in HTTP headers sometimes problematic?

medium📝 Debug Q7 of Q15
Rest API - Versioning Strategies
Why is embedding version info only in HTTP headers sometimes problematic?
ASome clients or browsers may not support custom headers
BHeaders are always ignored by servers
CHeaders slow down the API response
DHeaders cannot carry version info
Step-by-Step Solution
Solution:
  1. Step 1: Consider client support for headers

    Not all clients or browsers allow setting or sending custom headers easily.
  2. Step 2: Identify the problem with header versioning

    This limits the usability of header-based versioning for some users.
  3. Final Answer:

    Some clients or browsers may not support custom headers -> Option A
  4. Quick Check:

    Header versioning = client support issues [OK]
Quick Trick: Headers may not be supported by all clients [OK]
Common Mistakes:
MISTAKES
  • Believing headers are ignored by servers
  • Thinking headers slow responses
  • Assuming headers can't carry version info

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Rest API Quizzes