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 define the MIME type
B. To indicate the compression algorithm used on the response body
C. To set the language
D. To specify the character encoding
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
What is the name of the algorithm used by Google to rank search results?
A. BingRank
B. SearchRank
C. LinkRank
D. PageRank

Correct Answer: Option D


Explanation:
PageRank is an algorithm used by Google to rank web pages based on the number and quality of links pointing to them, developed by Larry Page and Sergey Brin.

This question belongs to: Computer Internet and Web Technologies
Question #2
Which of the following ports is designated by default for secure, encrypted Post Office Protocol version 3 (POP3S) communication?
A. 110
B. 993
C. 443
D. 995

Correct Answer: Option D


Explanation:
Port 995 is the globally recognized default network port assigned for POP3 operations run securely over an encrypted SSL/TLS connection.

This question belongs to: Computer Internet and Web Technologies
Question #3
Which of the following is a popular JavaScript library for building user interfaces?
A. All of the above
B. Vue.js
C. React
D. Angular

Correct Answer: Option A


Explanation:
React, Angular, and Vue.js are all popular JavaScript frameworks/libraries for building front-end user interfaces.

This question belongs to: Computer Internet and Web Technologies