> On Wed, Mar 11, 2015 at 11:59 AM, Roberto De Ioris <[email protected]> > wrote: >> >>> Okay, is uwsgi.env the right way to access the environment values? I >>> just stumbled on it with a dir(uwsgi). >> >> >> Nope it is not thread-safe, use environ['uwsgi.core'] > > Maybe I'm being thick, but are we talking about os.environ? If so, I > don't seem to see any uwsgi values in there.
Nope, the environ dictionary passed to the WSGI app (the one with the CGI vars, like REQUEST_METHOD and so on) -- Roberto De Ioris http://unbit.com _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
