#NEWLINE# def _set_metadata( self ) : #NEWLINE# #INDENT# self . metadata = dict ( ) #NEWLINE# headers = self . get_headers ( ) #NEWLINE# for header in key : #NEWLINE# #INDENT# if header . startswith ( self . _custom_metadata_prefix ) : #NEWLINE# #INDENT# key = header [ len ( self . _custom_metadata_prefix ) : ] . lower ( ) #NEWLINE# self . metadata [ key ] = headers [ header ]