class Mail::Header
def initialize(header_text = nil, charset = nil)
these cases, please make a patch and send it in, or at the least, send
no automatic processing of that field will happen. If you find one of
field and leave it alone. This will mean that the data is preserved but
type), but it fails to parse it, it will simply make it an unstructured
If it finds a field that should be a structured field (such as content
it goes.
it and split it into the various fields, instantiating each field as
Accepts raw text or nothing. If given raw text will attempt to parse
Creates a new header object.
def initialize(header_text = nil, charset = nil) @charset = charset @raw_source = ::Mail::Utilities.to_crlf(header_text).lstrip split_header if header_text end