def __call__(self, environ, start_response):
        method = self._get_method_override(environ).upper()

        if method in self.allowed_methods:
            method = method.encode('ascii', 'replace')
            environ['REQUEST_METHOD'] = method

        if self.bodyless_methods in method:
            environ['CONTENT_LENGTH'] = '0'

        return self.app(environ, start_response)
dataset/ETHPy150Open LeightonStreet/LingoBarter/lingobarter/core/middleware.py/HTTPMethodOverrideMiddleware.__call__/swapped operands of `in`