#NEWLINE# def flatten( self ) : #NEWLINE# #INDENT# 'Produces two strings representing the headers and message body.\n\n        :returns: Tuple of two bytestrings: ``(header_data, message_data)``\n\n        ' #NEWLINE# header_data = self . _msg_generator ( self . headers ) #NEWLINE# return ( header_data , self . message )