What is the purpose of the 'referer' HTTP header? MCQ with Answer and Explanation

What is the purpose of the 'referer' HTTP header?
A. To set the content type
B. To authenticate the request
C. To specify the client's IP address
D. To indicate the URL of the page that linked to the current resource
Answer: Option D
Solution (By JKSSB Mock Tests)
The Referer header (misspelling of 'referrer') contains the URL of the previous page that linked to the current page, used for analytics and security.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Internet and Web Technologies Questions

Question #1
What is the purpose of the 'same-origin policy' in web browsers?
A. To prevent scripts from accessing data from different origins
B. To enforce HTTPS usage
C. To block pop-ups
D. To ensure cookies are only sent to the same site

Correct Answer: Option A


Explanation:
The same-origin policy restricts how documents or scripts loaded from one origin can interact with resources from another origin, protecting against attacks like CSRF and data theft.

This question belongs to: Computer Internet and Web Technologies
Question #2
Which of the following ports is the standard default port for unencrypted POP3 email retrieval?
A. 25
B. 143
C. 110
D. 995

Correct Answer: Option C


Explanation:
Port 110 is the traditional network port allocated for unencrypted Post Office Protocol version 3 (POP3) traffic.

This question belongs to: Computer Internet and Web Technologies
Question #3
Which type of internet connection method relies on existing analog copper telephone network lines to deliver high-bandwidth digital data streams without blocking traditional voice calls?
A. DSL (Digital Subscriber Line)
B. Dial-up Connection
C. Satellite Link Array
D. Coaxial Fiber Grid

Correct Answer: Option A


Explanation:
DSL uses high-frequency bands over copper telephone wires to run continuous, high-speed internet data transmissions alongside standard voice calls.

This question belongs to: Computer Internet and Web Technologies