Vidyalelo
JavaScript · Q22

Invocation And Performance Navigation

Programming · JavaScript · question 22

Q22

Why are HTTP redirects significant?

A.
TCP connection available
B.
Complete roundtrip absent
Answer
C.
Complete roundtrip present
D.
None of the mentioned

Answer: Option B

Solution

Answer: Option B
Solution:
HTTP redirects are significant because they cause a complete roundtrip for each redirect. The original request is returned from the web server as either a 301 or a 302 with the path to the new location. The browser must then initialize a new TCP connection and send a new request for the new location.