Skip to content

Commit d18ea1e

Browse files
committed
feat(specification): update content type indicator to clarify byte values for content presence
1 parent 409e409 commit d18ea1e

1 file changed

Lines changed: 4 additions & 9 deletions

File tree

docs/specification.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -256,16 +256,11 @@
256256
257257
#### Content Type Indicator
258258

259-
The content type indicator is a single byte where each bit represents the presence of a specific content type:
259+
The content type indicator is a single byte with the following values:
260260

261-
- **Bit 0 (0x01)**: Text content present
262-
- **Bit 1 (0x02)**: Image content present
263-
264-
Possible combinations:
265-
266-
- **0x01**: Text-only content
267-
- **0x02**: Image-only content
268-
- **0x03**: Text and image content
261+
- **0**: Text-only content
262+
- **1**: Image-only content
263+
- **2**: Text and image content
269264

270265
1. **Email format**: Binary-encoded fields with the following structure:
271266

0 commit comments

Comments
 (0)