Media type and application limits
05text/csv describes a textual interchange format, not a complete typed schema.
DIAGRAMRead RFC section 3 ↗
RFC 4180 · § 3EXAMPLE
3 / 3
03
Keep text from becoming code
A spreadsheet or other consumer needs its own safe import policy.
Key idea: Optional charset and header parameters are defined.
Rules & examples
Optional charset and header parameters are defined.
- Optional charset and header parameters are defined.
- CSV does not define numeric, date, formula, or identifier interpretation.
- Consumers must agree on schema and safe treatment of values; delimiter and line-ending variants need explicit handling.
Examples are illustrative. Consult the linked RFC and its errata for implementation details.
Sources
Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background
First, agree how to read the message.
An encoding tells a reader how to interpret bytes. A format tells it how values fit together. Correctly reading a value does not make that value trustworthy.
Helpful first, if these ideas are unfamiliar
These pictures are analogies to help you learn. The linked RFC explains the actual rules.
Related RFCs and changes
“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.
Read the updated RFC section ↗