Exam 301b All QuestionsBrowse all questions from this exam
Question 78

A web application is meant to log the URI of the resource that responded to the client's initial Request-URI.

Which HTTP header will supply this information?

    Correct Answer: D

    The Referer HTTP request header contains the address of the webpage that linked to the resource being requested. This allows the server to log from which URI the initial request was made. It provides the necessary information for tracking the origin of the request, making it the correct header for logging the URI of the resource that responded to the client's initial Request-URI.

Discussion
GVKDOption: D

D - Correct The Referer HTTP request header contains the absolute or partial address from which a resource has been requested. The Referer header allows a server to identify referring pages that people are visiting from or where requested resources are being used. This data can be used for analytics, logging, optimized caching, and more. When you click a link, the Referer contains the address of the page that includes the link. When you make resource requests to another domain, the Referer contains the address of the page that uses the requested resource. The Referer header can contain an origin, path, and querystring, and may not contain URL fragments (i.e. #section) or username:password information. The request's referrer policy defines the data that can be included. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer