#NEWLINE# def _init_decoder( self ) : #NEWLINE# #INDENT# '\n        Set-up the _decoder attribute if necessar.\n        ' #NEWLINE# content_encoding = self . headers . get ( 'content-encoding' , '' ) . lower ( ) #NEWLINE# if ( ( self . _decoder is None ) and ( content_encoding in self . CONTENT_DECODERS ) ) : #NEWLINE# #INDENT# self . _decoder = _get_decoder ( content_encoding )