parameters: (self)
docstring: Set-up the _decoder attribute if necessary.
docstring_summary: Set-up the _decoder attribute if necessary.
docstring_tokens: Set - up the _decoder attribute if necessary .
function: def _init_decoder(self):
          """
          Set-up the _decoder attribute if necessary.
          """
          # Note: content-encoding value should be case-insensitive, per RFC 7230
          # Section 3.2
          content_encoding = self.headers.get('content-encoding', '').lower()
          if self._decoder is None and content_encoding in self.CONTENT_DECODERS:
              self._decoder = _get_decoder(content_encoding)
function_tokens: def _init_decoder ( self ) : # Note: content-encoding value should be case-insensitive, per RFC 7230 # Section 3.2 content_encoding = self . headers . get ( 'content-encoding' , '' ) . lower ( ) if self . _decoder is None and content_encoding in self . CONTENT_DECODERS : self . _decoder = _get_decoder ( content_encoding )