using same wsgi/env_var strategy as viewapi