Vidyalelo
JavaScript · Q149

Document Object Model And Event Handling

Programming · JavaScript · question 149

Q149

Which of the following is a feature of the HTTP response?

A.
Mandatory response body
Answer
B.
Optional response body
C.
URL being released
D.
Optional set of response headers

Answer: Option A

Solution

Answer: Option A
Solution:
The HTTP response sent by a server has three parts :
1. A numeric and textual status code that indicates the success or failure of the request
2. A set of response headers
3. The response body