A - Correct
The Host header is specifically designed to tell the server which server and service the request is intended for.
It typically contains the hostname and optionally the port number, like example.com:8080.
This information can be used by the server to route the request to the appropriate backend server or service within its infrastructure.
While other headers can sometimes provide relevant information:
From: Primarily identifies the sender of the request, not necessarily the target.
Expect: Indicates specific expectations from the server about the response, not server identification.
Connection: Specifies the connection properties (e.g., keep-alive), not server details.
upvoted 1 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
GVKD
5 months ago