- Viewed 551k times795edited Oct 7, 2021 at 7:34
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.
Media Type: application/vnd.ms-excel
Name Microsoft Excel (tm)
Required parameters: None
Optional parameters: name
Encoding considerations: base64 preferred
Security considerations: As with most application types this data...
Content Under CC-BY-SA license What MIME type should I use for CSV? - Stack Overflow
Explore further
PHP: mime_content_type - Manual
Common MIME types - HTTP | MDN - MDN Web Docs
Sending a CSV File as an HTTP Response – devgem.io
Which mime-type for csv should be used in PHP - AOverflow.com
PHP: mime_content_type - Manual - php.sh
- People also ask
How to Handle CSV with PHP: Read Write, Import …
WebFeb 9, 2019 · The common formats and MIME type for the CSV files are discussed here with the reference of the RFC 4180 documentation. CSV Format Definition. These are the general definitions for a valid CSV …
Properly configuring server MIME types - Learn web development …
よくある MIME タイプ - HTTP | MDN - MDN Web Docs
php - Check file uploaded is in csv format - Stack Overflow
Related searches for MIME Content-Type php csv