🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: HTTP Methods, Status Codes and Headers: all 10 questions

Quiz: HTTP Methods, Status Codes and Headers · Question 7 of 10

The browser sends If-None-Match: "v42" and the data has not changed. What should the server reply?

The browser sends If-None-Match: "v42" and the data has not changed. What should the server reply?

  1. A.200 with the full body again
  2. B.304 Not Modified with no body
  3. C.404 Not Found
  4. D.409 Conflict
Answer & explanation

Correct answer: 304 Not Modified with no body

304 tells the browser to use its cached copy, saving bandwidth.

Can you get the rest right without peeking?

Take the timed Quiz: HTTP Methods, Status Codes and Headers quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →