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 authenticate the request
B. To set the content type
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
Which specific design attribute inside modern web browser frames helps protect against malicious phishing sites by explicitly emphasizing the verified base domain name string inside the address display field?
A. The status bar indicator pane
B. The browser extension window layout
C. The background caching memory log dashboard
D. Domain Highlighting / Address Bar parsing logic

Correct Answer: Option D


Explanation:
Modern browsers highlight the core domain name (e.g., 'example.com') in black while graying out sub-directories and parameters to help users spot fraudulent or spoofed domain lookalikes.

This question belongs to: Computer Internet and Web Technologies
Question #2
Which technology serves as an open standard for short-range wireless communication, enabling data exchanges between devices like phones, mice, and laptops over small personal spaces?
A. DSL Matrix
B. FTP Bridge
C. Bluetooth
D. Ethernet

Correct Answer: Option C


Explanation:
Bluetooth is a short-range wireless technology standard used for exchanging data between fixed and mobile devices over short distances, creating personal area networks (PANs).

This question belongs to: Computer Internet and Web Technologies
Question #3
What structural element forms the separator dividing individual query parameter pairs inside a standard URL structure, such as '?id=1&page=2'?
A. The hash (#) character
B. The ampersand (&) character
C. The colon (:) character
D. The forward slash (/) character

Correct Answer: Option B


Explanation:
In a URL query string, the question mark (?) initiates the parameters, while individual key-value pairs are separated from each other using the ampersand (&) character.

This question belongs to: Computer Internet and Web Technologies