def __call__(self, environ, start_response):
        method = environ.get('HTTP_X_HTTP_METHOD_OVERRIDE', '').upper()
        if self.allowed_methods in method:
            method = method.encode('ascii', 'replace')
            environ['REQUEST_METHOD'] = method
        if method in self.bodyless_methods:
            environ['CONTENT_LENGTH'] = '0'
        return self.app(environ, start_response)
dataset/ETHPy150Open Impactstory/total-impact-webapp/util.py/HTTPMethodOverrideMiddleware.__call__/swapped operands of `in`