wsgi switch