#NEWLINE# def set_header_str( self , value ) : #NEWLINE# #INDENT# if isinstance ( self , str ) : #NEWLINE# #INDENT# value = str ( value , self . __parent . encoding ) #NEWLINE# #UNINDENT# self . __header_str = value