Visual RFC.
ALL RFCs / RFC 2045
Read the RFC ↗
RFC 2045 / MECHANISM GUIDE

Canonical form and safety

05

Canonicalization, transfer encoding, and media interpretation are different processing stages.

RFC 2045 · § 6.6EXAMPLE
3 / 3
03
Recover before interpretation

Decode the transfer form, then interpret the media type safely.

Canonical form and safetyCanonicalization, transfer encoding, and media interpretation are different processing stages.Canonical form and safetyMedia canonical formtransfer encodeTransport-safe body textdecode, then interpretRecovered media bytes

Key idea: Text canonical form uses CRLF line breaks as specified.

Terms

Look up a term in the glossary ↗

Rules & examples
  • Text canonical form uses CRLF line breaks as specified.
  • A charset converts characters to bytes; transfer encoding converts bytes to transport-safe text.
  • Decoders still need safe media handling and appropriate resource limits.

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

The envelope and the letter do different jobs.

Mail transport moves a message between servers. The message format describes its contents. Authentication adds checks; it does not make every message safe.

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.

All chapters in RFC 2045

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗