What is the purpose of the 'Content-Encoding' header in HTTP? MCQ with Answer and Explanation

What is the purpose of the 'Content-Encoding' header in HTTP?
A. To specify the character encoding
B. To indicate the compression algorithm used on the response body
C. To set the language
D. To define the MIME type
Answer: Option B
Solution (By JKSSB Mock Tests)
Content-Encoding tells the client how the response body is encoded (e.g., gzip, deflate) so it can decompress it.

Discuss this Question (0)

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

Practice More Internet and Web Technologies Questions

Question #1
Which internet standard defines a secure environment for connecting to local corporate systems by encapsulating data packets inside an encrypted network tunnel across public internet routes?
A. FTP client link
B. SMTP server cluster
C. VPN (Virtual Private Network)
D. DNS root resolver matrix

Correct Answer: Option C


Explanation:
A Virtual Private Network (VPN) extends a private network across a public network, encrypting the data stream to protect communications between remote clients and secure internal servers.

This question belongs to: Computer Internet and Web Technologies
Question #2
Which of the following is an example of a web browser extension?
A. AdBlock
B. Firefox Monitor
C. Chrome Web Store
D. Google Search

Correct Answer: Option A


Explanation:
AdBlock is a popular browser extension that blocks advertisements. The Chrome Web Store is a store for extensions, not an extension itself.

This question belongs to: Computer Internet and Web Technologies
Question #3
Which specific protocol is responsible for managing file distribution and uploads between local machines and storage web directories over unencrypted internet routes?
A. HTTP
B. IMAP
C. FTP
D. SMTP

Correct Answer: Option C


Explanation:
FTP (File Transfer Protocol) is an application layer protocol built to upload and download files between clients and remote file servers.

This question belongs to: Computer Internet and Web Technologies