package email_message
Module Headers.NormalizeSource
Normalize specifies how to handle header values. It is used in two contexts:
1) Transport (Normalize.encode): Specify how to turn a string into a header value. `Whitespace will add the necessary for transport.
2) Processing (Normalize.decode): Specify how to turn a header value into a string. `Whitespace will remove all leading and trailing whitespace on each line in order to cleanly process the value.
Source
type encode = [ | `None(*Leave whitespace unchanged
*)| `Whitespace(*Cleanup leading and trailing whitespace on each line
*)
]