301b Exam QuestionsBrowse all questions from this exam

301b Exam - Question 79


The end users of a web application need to verify that their browsers received the complete message-body from the web server.

Which HTTP header will accomplish this?

Show Answer
Correct Answer: D

The Content-Length header indicates the size of the message body, in bytes, that has been sent to the recipient. This allows the end users to compare the size of the received message-body with the Content-Length value to verify that the complete message-body has been received. The other headers (Range, Expect, and Accept-Ranges) do not serve this purpose.

Discussion

1 comment
Sign in to comment
GVKDOption: D
Feb 11, 2024

D - Correct The Content-Length header indicates the size of the message body, in bytes, sent to the recipient. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Length