Bird
0
0

Which HTTP response status code indicates that the resource has NOT been modified since the date in If-Modified-Since?

easy📝 Conceptual Q2 of 15
Rest API - Caching Strategies
Which HTTP response status code indicates that the resource has NOT been modified since the date in If-Modified-Since?
A200 OK
B404 Not Found
C500 Internal Server Error
D304 Not Modified
Step-by-Step Solution
Solution:
  1. Step 1: Identify the status code meaning

    304 Not Modified means the resource has not changed since the date provided by the client.
  2. Step 2: Compare with other codes

    200 means resource sent, 404 means not found, 500 means server error, so only 304 fits the condition.
  3. Final Answer:

    304 Not Modified -> Option D
  4. Quick Check:

    304 = Resource unchanged [OK]
Quick Trick: 304 means resource unchanged since date [OK]
Common Mistakes:
MISTAKES
  • Choosing 200 which means resource sent
  • Confusing 404 with modification status
  • Thinking 500 relates to modification

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Rest API Quizzes