PyDocs

Nav

Internet Data Handling

make_header

email.header

function (source)
  • make_header(decoded_seq, maxlinelen=None, header_name=None, continuation_ws=' ')
Create a Header from a sequence of pairs as returned by decode_header()

decode_header() takes a header value string and returns a sequence of
pairs of the format (decoded_string, charset) where charset is the string
name of the character set.

This function takes one of those sequence of pairs and returns a Header
instance.  Optional maxlinelen, header_name, and continuation_ws are as in
the Header constructor.

This function exists for backwards compatibility only, and is not
recommended for use in new code.
0 Examples
No examples for email.header/make_header.
See Also
No see-alsos for email.header/make_header
0 Notes
No notes for make_header