Ryan B. answered 10/12/21
Junior Software Engineer Specializing in JavaScript
You don't need the content-type, you can use either the content-type or the extension (like `.xls`). That said, you generally should offer both when you can, because sometimes a given file is missing one piece of information or the other.
If you want to include the content-type of Excel CSV, it's `text/plain`. This will allow a lot of non-CSV files, however, since it's the content type of all plain-text files.
Therefore either of these would make sense:
Without the content type
Or
With the content-type