I’ve seen application/csv used and also text/csv.
Is there a difference? Does it matter which as long as the request matches something that’s available? Are they interchangeable?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
RFC 7111
There is an RFC which covers it and says to use
text/csv.This RFC updates RFC 4180.
Excel
Recently I discovered an explicit mimetype for Excel application/vnd.ms-excel. It was registered with IANA in ’96. Note the concerns raised about being at the mercy of the sender and having your machine violated.
I wasn’t aware that vendor extensions were allowed. Check out this answer to find out more – thanks starbeamrainbowlabs for the reference.