(self)
Limits the permissible Accept-Encoding values, based on what we can
            decode appropriately.
Limits the permissible Accept-Encoding values, based on what we can
            decode appropriately.
Limits the permissible Accept - Encoding values based on what we can decode appropriately .
def constrain_encoding(self):
        """
            Limits the permissible Accept-Encoding values, based on what we can
            decode appropriately.
        """
        if self.headers["accept-encoding"]:
            self.headers["accept-encoding"] = [', '.join(
                e for e in encoding.ENCODINGS if e in self.headers["accept-encoding"][0]
            )]
def constrain_encoding ( self ) : if self . headers [ "accept-encoding" ] : self . headers [ "accept-encoding" ] = [ ', ' . join ( e for e in encoding . ENCODINGS if e in self . headers [ "accept-encoding" ] [ 0 ] ) ]