Question · Vibe coding with Claude Code course · Module 8: Slack clone

Quiz: File download headers

Which response headers of the Route Handler /c/[channel]/export make the browser download the CSV file instead of showing it?

Answer options

  • Accept: text/csv and Cache-Control: no-store
  • Content-Type: text/csv; charset=utf-8 and Content-Disposition: attachment; filename="general-2026-11-14.csv"
  • Content-Length and Connection: close
  • Location: /download and status 302

You can check the correct answer by solving this task in the CodeWorlds game.