All Questions
Handling Large Blobs hard

How do you force a browser to 'Download' a file instead of displaying it, without changing the file content?

  1. A Use `Content-Disposition: attachment; filename="foo.jpg"` header.
  2. B Zip it.
  3. C Use JavaScript.
  4. D Rename it to .exe.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions