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

What is the purpose of the 'Accept' HTTP header?
A. To specify the media types the client can process
B. To list acceptable encodings
C. To indicate the preferred language
D. To specify the content type of the request body
Answer: Option A
Solution (By JKSSB Mock Tests)
The Accept header informs the server about the media types the client can understand, e.g., text/html, application/json.

Discuss this Question (0)

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

Practice More Internet and Web Technologies Questions

Question #1
Which element in a modern web ecosystem describes a specialized software program that aggregates news articles, blog entries, and real-time audio feeds from across the internet into a single custom interface?
A. Outbound email routing block
B. FTP desktop file transfer script
C. Feed Aggregator / RSS Reader
D. Local history log dashboard

Correct Answer: Option C


Explanation:
Feed aggregators continuously parse XML-based web feeds from subscribed sites, displaying consolidated chronological content updates in one centralized application window.

This question belongs to: Computer Internet and Web Technologies
Question #2
Which top-level domain designation (TLD) was originally designed for network infrastructure providers but has since evolved into a general-purpose choice open to everyone?
A. .net
B. .mil
C. .edu
D. .gov

Correct Answer: Option A


Explanation:
The '.net' top-level domain stands for 'network' and was initially intended for organizations involved in networking technologies, though it is now an open domain.

This question belongs to: Computer Internet and Web Technologies
Question #3
Which of the following is a protocol for real-time communication over HTTP?
A. Server-Sent Events (SSE)
B. Long Polling
C. WebRTC
D. All of the above

Correct Answer: Option D


Explanation:
WebRTC, SSE, and Long Polling are all techniques or protocols that enable real-time or near-real-time communication over HTTP.

This question belongs to: Computer Internet and Web Technologies