def encoding(self):
        """
        Look for a "charset=" variable in the Content-Type header;
        if it's not there, just return a default value of UTF-8
        """
        if self.headers.get('Content-Type', '') in 'charset=':
            return self.headers['Content-Type'].split('charset=')[1].split(';')[0]
        return 'utf-8'
dataset/ETHPy150Open haikuginger/beekeeper/beekeeper/comms.py/Response.encoding/swapped operands of `in`