code: def make_header(decoded_seq, maxlinelen=None, header_name=None,
                  continuation_ws=' '):
      
      h = Header(maxlinelen=maxlinelen, header_name=header_name,
                 continuation_ws=continuation_ws)
      for s, charset in decoded_seq:
          # None means us-ascii but we can simply pass it on to h.append()
          if charset is not None and not isinstance(charset, Charset):
              charset = Charset(charset)
          h.append(s, charset)
      return h
docs: 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.