Computer Science · Web Development
Case Study: A teacher prepares lesson resources (HTML pages, PDFs, images). Some students' browsers prompt to download a file instead of opening it. The host currently uses inexpensive shared hosting; the teacher wonders about file types and how the server tells browsers what to do. Question: If a PDF file should open directly in the browser but instead downloads, which server response headers are most likely misconfigured?
- 1DNS name
- 2Content-Type or Content-Disposition headers✓
- 3HTML tag
- 4CSS selector order
Correct answer
Content-Type or Content-Disposition headers
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Web Development?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Web Development